Nitrous Timer
#1

Код:
dcmd_rnos(playerid, params[])
{
    #pragma unused params
    if(IsRegularPlayer[playerid] != 1337) return SendClientMessage(playerid,COLOR_ORANGE,"[AeroBot]: You Are Not A Regular Player");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED, "[ERROR]You must be in a car to use this command.");
    switch(GetVehicleModel( GetPlayerVehicleID(playerid) ))
	{
		case 448,461,462,463,468,471,509,510,521,522,523,581,586,449:
		return SendClientMessage(playerid,COLOR_RED,"[ERROR]You cannot add nitro into this car!");
	}
	AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
	SendClientMessage(playerid, COLOR_GREY, "You have succesfully added nitrous into your car.");
	return 1;
}
Can Anyone help me? add 5 minutes time before they can use the command again + Rep
Reply


Messages In This Thread
Nitrous Timer - by Patrick - 26.10.2012, 20:50
Re: Nitrous Timer - by Babul - 26.10.2012, 21:16
Re: Nitrous Timer - by Patrick - 26.10.2012, 21:22
Re: Nitrous Timer - by Babul - 27.10.2012, 10:37

Forum Jump:


Users browsing this thread: 1 Guest(s)