Command that puts nitro on a car
#5

Quote:
Originally Posted by Calvingreen17
Посмотреть сообщение
Aint it:

CMD:nitro(playerid,params[])
{
if(!IsPlayerInAnyVehicle(playerid))
{
new vehicle;
vehicle = GetPlayerVehiceID(playerid);
AddVehicleComponent(vehicle,1010);
SendClientMessage(playerid,COLOR_WHITE,"Nitros added");
}
else
{
SendClientMessage(playerid,COLOR_RED,"ERROR:You're not in a vehice");
}
return 1;
}
hmm, both work I guess, there is no vehicle ID that is 0 or less, so yeah..
Reply


Messages In This Thread
Command that puts nitro on a car - by cowmilker69 - 17.07.2013, 23:16
Re: Command that puts nitro on a car - by PabuLetz - 18.07.2013, 00:00
Re: Command that puts nitro on a car - by Grooty - 18.07.2013, 01:49
Re: Command that puts nitro on a car - by Calvingreen17 - 18.07.2013, 02:45
Re: Command that puts nitro on a car - by Elie1996 - 18.07.2013, 08:29
Re: Command that puts nitro on a car - by Grooty - 18.07.2013, 14:02
Re: Command that puts nitro on a car - by Elie1996 - 18.07.2013, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)