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:
A Man
2021-08-18 23:43:21 +02:00
parent d6cebd4598
commit 30f15326c2
41 changed files with 1405 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
private ["_player","_playerUID","_key","_message"];
_player = _this select 0;
_playerUID = if (count _this > 1) then {_this select 1} else {getPlayerUID _player};
_key = format["CHILD:803:%1:",_playerUID];
_key call server_hiveWrite;
_message = format["GARAGE: %1 (%2) maintained vehicles linked to UID: %3 @%4 %5",if (alive _player) then {name _player} else {"DeadPlayer"},getPlayerUID _player,_playerUID,mapGridPosition _player,getPosATL _player];
diag_log _message;