22.03.2017, 15:13
Try this :
Quote:
new timeforheal = 1; CMD:healme(playerid, params[]) { if(timeforheal == 1) { //your code here SetTimerEx("HealAgain",10000, false, "i", playerid); timeforheal = 0; } else SendClientMessage(playerid,/*your color*/,"The error message!"); return 1; } forward HealAgain(playerid); public HealAgain(playerid) { timeforheal = 1; } |