24.06.2010, 17:04
define the car name in ongame mode int
or just use what they said above
maybe this?
or something like that.
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; }