deathmatch question
#2

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


Messages In This Thread
deathmatch question - by smokey104 - 28.05.2009, 14:58
Re: deathmatch question - by farse - 28.05.2009, 15:07
Re: deathmatch question - by smokey104 - 28.05.2009, 15:12
Re: deathmatch question - by smokey104 - 28.05.2009, 15:55
Re: deathmatch question - by farse - 28.05.2009, 16:05
Re: deathmatch question - by smokey104 - 28.05.2009, 16:33
Re: deathmatch question - by farse - 28.05.2009, 16:50
Re: deathmatch question - by smokey104 - 28.05.2009, 17:10
Re: deathmatch question - by smokey104 - 28.05.2009, 18:01
Re: deathmatch question - by Jatoofer - 28.05.2009, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)