How to check for nitro
#6

define the car name in ongame mode int

or just use what they said above

maybe this?
Код:
  {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFF0000AA,"You are not in a vehicle!"); // If the player is not in vehicle...
    if(GetVehicleComponentInSlot(GetPlayerVehicleID(playerid),GetVehicleComponentType(1010)) != 1010) // Check if the vehicle has no nitro
    ban(playerid);
    return 1;
  }
or something like that.


Reply


Messages In This Thread
How to check for nitro - by MWF2 - 24.06.2010, 16:51
Re: How to check for nitro - by Kar - 24.06.2010, 16:52
Re: How to check for nitro - by MadeMan - 24.06.2010, 16:57
Re: How to check for nitro - by YnYectoRx.79 - 24.06.2010, 16:58
Re: How to check for nitro - by MWF2 - 24.06.2010, 17:01
Re: How to check for nitro - by Kar - 24.06.2010, 17:04
Re: How to check for nitro - by MadeMan - 24.06.2010, 17:12
Re: How to check for nitro - by MWF2 - 24.06.2010, 17:42
Re: How to check for nitro - by MadeMan - 24.06.2010, 17:57
Re: How to check for nitro - by Evgeni_Degerev - 24.06.2010, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)