21.03.2011, 14:23
hi this is my code
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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!");
}
}
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . .