mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-03-01 11:11:52 +03:00
Add toggleable Virtual Garage by salival
This also adds heli pads to the wholesaler if the virutal garage is activated.
This commit is contained in:
12
SQF/dayz_server/compile/garage/server_queryVehicle.sqf
Normal file
12
SQF/dayz_server/compile/garage/server_queryVehicle.sqf
Normal file
@@ -0,0 +1,12 @@
|
||||
private ["_player","_query","_result","_clientID","_playerUID"];
|
||||
|
||||
_player = _this select 0;
|
||||
_clientID = owner _player;
|
||||
_playerUID = if (count _this > 1) then {_this select 1} else {getPlayerUID _player};
|
||||
|
||||
_key = format["CHILD:800:%1:%2:",_playerUID,vg_sortColumn];
|
||||
_result = _key call server_hiveReadWrite;
|
||||
|
||||
PVDZE_queryVehicleResult = _result;
|
||||
|
||||
if (!isNull _player) then {_clientID publicVariableClient "PVDZE_queryVehicleResult";};
|
||||
Reference in New Issue
Block a user