Push #941 - SetFuel

This commit is contained in:
Skaronator
2014-01-11 19:40:24 +01:00
parent 31b0226b94
commit cdc98d2bcb
4 changed files with 20 additions and 4 deletions

View File

@@ -112,6 +112,14 @@ _availableCansEmpty = ["ItemJerrycanEmpty","ItemFuelBarrelEmpty"];
if(([player,_canNameEmpty] call BIS_fnc_invRemove) == 1) then {
/* WIP - PVS/PVC - Skaronator
if (local _vehicle) then {
[_vehicle,_newFuel] call local_setFuel;
} else {
PVDZE_send = [_vehicle,"SetFuel",[_vehicle,_newFuel]];
publicVariableServer "PVDZE_send";
};
*/
PVDZE_veh_SFuel = [_vehicle,_newFuel];
if (local _vehicle) then {
PVDZE_veh_SFuel spawn local_setFuel;