30.03.2013, 14:24
Hi,I just made the command "/heal" But I don`t want them to abuse it. So How can I make it for example after 1 minute? or if they try to abuse it,it will say "Please wait another 1 minute before using /heal again"
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/heal", cmdtext, true, 10) == 0) { if(IsPlayerVipType(playerid,3)) /// PREMIUM VIP { SetPlayerHealth(playerid, 10); } else SendClientMessage(playerid, COLOR_RED, "ERROR: You Are Not A Premium Vip Member!"); return 1; } return 0; }