02.06.2010, 05:09
Код:
new bool:timeover[MAX_PLAYERS];
Код:
if(!strcmp(cmdtext,"/kill",true,5)==0) { if(timeover=false) return SendClientMessage(playerid,0xffffffaa,"Please wait for 15 seconds before suiciding again"); SetPlayerHealth(playerid,0.0); SetTimer("timeover2,15000,0); timeover=false; }
Код:
forward timeover2(playerid); public timeover2(playerid) { timeover=true; }