Command Timer Help!
#1

hi this is my code

pawn Code:
if(!strcmp("/vr", cmdtext, true))
{
 
   {
    if(IsPlayerInAnyVehicle(playerid))
       
            {
            new VehicleID;
            VehicleID = GetPlayerVehicleID(playerid);
            RepairVehicle(VehicleID);
            return SendClientMessage(playerid, YELLOW," Sucessfully Fixed The Vehicle ");
            }
            else return SendClientMessage(playerid,RED,"ERROR: You are not in a Vehicle!");
           

        }
return 1;
}

i wanna make command text timer like player cant use it again and again..
Like He Can Use It Only Once In 2 min and if he used it he must wait for 2 min.

_________________________________________

I have searched alot on forums but not got any solution . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Reply


Messages In This Thread
Command Timer Help! - by Niko_boy - 21.03.2011, 14:23
AW: Command Timer Help! - by Pablo Borsellino - 21.03.2011, 14:27
Re: AW: Command Timer Help! - by Niko_boy - 21.03.2011, 14:37
AW: Command Timer Help! - by Pablo Borsellino - 21.03.2011, 14:51

Forum Jump:


Users browsing this thread: 4 Guest(s)