24.11.2012, 09:43
Код:
if(GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,0,alarm,doors,bonnet,boot,objective)) { SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,1,alarm,doors,bonnet,boot,objective); return 1; }
if(GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,0,alarm,doors,bonnet,boot,objective)) { SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,1,alarm,doors,bonnet,boot,objective); return 1; }
GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective) if(lights != 1) { SetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,true,alarm,doors,bonnet,boot,objective); return 1; }