Disable command while in deathmatch
#2

it can be like

pawn Код:
if(PlayerInfo[playerid][pDeathmatch]  > 1 // if in deathmatch
{
       if(strcmp(cmd, "/duel", true) == 0)
       {
             SendClientMessage(playerid, "You can't use this while in deathmatch!");
               return 1;
}
Reply


Messages In This Thread
Disable command while in deathmatch - by gotwarzone - 18.10.2013, 15:12
Re: Disable command while in deathmatch - by Jankingston - 18.10.2013, 15:30
Re: Disable command while in deathmatch - by DanishHaq - 18.10.2013, 15:37
Re: Disable command while in deathmatch - by Jankingston - 18.10.2013, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)