15.04.2018, 11:51
pawn Код:
if(vInfo[i][vehicleFuel] >= 1)
{
if(vInfo[i][vehicleTires] == 4)
{
if(vInfo[i][vehicleEngine] == 1)
{
SetVehicleParamsEx(GetPlayerVehicleID(playerid),1,lights,alarm,doors,bonnet,boot,objective);
}
}
}
Using "SetVehicleParamsEx(GetPlayerVehicleID(playeri d),1,lights,alarm,doors,bonnet,boot,objective); "
keeps the car on even if the player uses /engine
The player only should control the engine, but it is automatically kept on. Find a way to fix it.
I think you should remove that part of the code then it'll be fixed.