mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Do not send purchased vehicle marker arrow over network
Only the player buying the vehicle needs to see the arrow.
Also fixed CfgMagazines error from:
2c4c75c67c (diff-fcf3df9a25b3d05402ab4e4809673194R6)
@icomrade
This commit is contained in:
12
SQF/dayz_code/compile/fn_waitForObject.sqf
Normal file
12
SQF/dayz_code/compile/fn_waitForObject.sqf
Normal file
@@ -0,0 +1,12 @@
|
||||
private ["_object","_sign"];
|
||||
|
||||
_object = _this select 0;
|
||||
_sign = _this select 1;
|
||||
|
||||
waitUntil {
|
||||
uiSleep 1;
|
||||
!isNull (nearestObject [player,_object])
|
||||
};
|
||||
|
||||
deleteVehicle _sign;
|
||||
player reveal (nearestObject [player,_object]);
|
||||
Reference in New Issue
Block a user