31.05.2010, 16:33
At the top of script
under all your DM teleport commands
Your kill command:
That should do the trick although it can be done better.
Код:
new bool: typedkill;
Код:
if(typedkill==false) return SendClientMessage(playerid,0xffffffaa,"Please type /kill to leave this area"); if(typedkills==true) { typedkill=false; //your DM script here }
Код:
if(!strcmp(cmdtext,"/kill",5,true)==0) { SetPlayerHealth(playerid,0.0); typedkill=true; return 1; }