how to make 'Please wait before use command'
#1

hey guys im basically new to scripting and i was wonder,how to add a timer to make before using a command again
here is my script :

dcmd_ad (playerid, params[])
{
#pragma unused params
new Float:health;
GetPlayerHealth(playerid,health);
if (health < 100)
{
SetPlayerHealth(playerid, health +100);
SendClientMessage(playerid, 0x00FF00AA, "adrenaline pill has been utilised");
}
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)