30.03.2013, 17:47
Please help, how to make it a player can use it only once every 5 sec, when you type /buygun it says ''Please wait 5 sec''
Код:
CMD:buygun(playerid, params[]) { if(!IsAtAmmu(playerid)) { SendClientMessage(playerid, COLOR_GRAD2, " You are not in a Ammunation Shop"); return 1; } else { ShowPlayerDialog(playerid, 30001, DIALOG_STYLE_LIST, "Ammunation Shop", "Shotgun (5000)\nMp5 (20000)\nDeagle (35000)\nM4 (75000)\nFullVest (3000)", "Buy", "Cancel"); } return 1; }