locking vaults

This commit is contained in:
A Clark
2012-11-24 08:42:41 -06:00
parent 34176f8d56
commit beaa60e59a
11 changed files with 208 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ if (!_isOk) then {
sleep 5;
//place tent (local)
_tent = createVehicle ["VaultStorage", _location, [], 0, "CAN_COLLIDE"];
_tent = createVehicle ["VaultStorageLocked", _location, [], 0, "CAN_COLLIDE"];
_tent setdir _dir;
_tent setpos _location;
player reveal _tent;
@@ -57,7 +57,7 @@ if (!_isOk) then {
//player setVariable ["tentUpdate",["Land_A_tent",_dir,_location,[dayz_tentWeapons,dayz_tentMagazines,dayz_tentBackpacks]],true];
dayzPublishObj = [dayz_characterID,_tent,[_dir,_location],"VaultStorage"];
dayzPublishObj = [dayz_characterID,_tent,[_dir,_location],"VaultStorageLocked"];
publicVariable "dayzPublishObj";
if (isServer) then {
dayzPublishObj call server_publishObj;