[HELP]/nitro
#2

pawn Код:
CMD:nitro(playerid, params[])
{
#pragma unused params
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFF0000FF, "You're not in any vehicle");
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, 0xFF0000FF, "You must be the driver to use this command.");
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);

AddVehicleComponent(vehicleid, 1010);
return 1;
}
}
}
Also, use/add tabs. Would make your FS/GM way more organized
Reply


Messages In This Thread
[HELP]/nitro - by Horrible - 19.06.2011, 08:31
Re: [HELP]/nitro - by Wesley221 - 19.06.2011, 08:32
Re: [HELP]/nitro - by Horrible - 19.06.2011, 08:34
Re: [HELP]/nitro - by Wesley221 - 19.06.2011, 08:46
Re: [HELP]/nitro - by Horrible - 19.06.2011, 09:05

Forum Jump:


Users browsing this thread: 1 Guest(s)