28.05.2009, 15:07
put at the beginning script this:
Put after case 0:{ this
And at /back:
At OnPlayerDeath:
And at OnPlayerCommandText:
pawn Код:
BlockCmd[MAX_PLAYERIS];
pawn Код:
BlockCmd[playerid]=1;
pawn Код:
BlockCmd[playerid]=0;
ResetPlayerWeapon(playerid);
pawn Код:
BlockCmd[playerid]=0;
pawn Код:
if(BlockCmd[playerid] && strcmp(cmdtext, "/back", true) != 0)return SendClientMessage(playerid,0xFF0000AA, "[ERROR] You can not leave this dm! Uses: /back");