mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 21:31:56 +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: https://github.com/EpochModTeam/DayZ-Epoch/commit/2c4c75c67c7b0230d5850b2a304a5b83020d3a3b#diff-fcf3df9a25b3d05402ab4e4809673194R6 @icomrade
This commit is contained in:
@@ -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