Server Done I Think

This commit is contained in:
icomrade
2016-02-29 00:29:23 -05:00
parent b96cd2d971
commit 58acf95dc7
37 changed files with 3919 additions and 1200 deletions

View File

@@ -0,0 +1,18 @@
/*
Not Used Test System
*/
//_vehicle = _this select 0;
//_engineState = _this select 1;
_rate = getNumber (configFile >> "CfgVehicles" >> (typeOf (_this select 0)) >> "fuelconsumptionrate");
if (_this select 1) then {
//[_vehicle, _rate] spawn {
while {isEngineOn (_this select 0)} do {
(_this select 0) setFuel ( Fuel (_this select 0) - (_this select 1));
sleep 1;
};
//};
};