14.09.2015, 06:36
Can't understand how to do,please help.
I need when in the car, stays 15 liters of petrol,what would the driver get the message "In the car the gas needed to fuel"
With me + for the help
I do like that,but I do not what won't work.
Waiting for help
(I'm Russian,and can write with mistakes,please ignore)
I need when in the car, stays 15 liters of petrol,what would the driver get the message "In the car the gas needed to fuel"
With me + for the help
I do like that,but I do not what won't work.
PHP код:
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(caridi) != 481 || GetVehicleModel(caridi) != 509 || GetVehicleModel(caridi) != 510)
{
if(EngineState[playerid] == false)
if(Fuell[caridi] <= 15) return PlayerPlaySound(playerid, 30600, 0.0, 0.0, 0.0),SCM(playerid, COLOR_RED, "In the car running out of petrol,you need to refuel");//Here's how I'm doing
{
SCM(playerid,COLOR_GREEN, "{00AB06}ЧTo start the engine press {FC0303}'2'{00AB06} or type the command {FC0303}/en");
}
}
}
(I'm Russian,and can write with mistakes,please ignore)