Global Chat
#5

pawn Code:
new bool:global = false; // before GameModeInit / FilterScriptInit
pawn Code:
if(!strcmp(cmdtext, "/ed", true)) // Enable / Disable
{
      if(global == false)
      {
           global = true;
      }
      else
      {
           global = false;
      }
      return 1;
}
pawn Code:
public OnPlayerText(playerid,text[])
{
        if(global == true) return 0;
        return 1;
}
Reply


Messages In This Thread
Global Chat - by GiS - 15.03.2011, 19:21
Re: Global Chat - by Marricio - 15.03.2011, 19:40
Re: Global Chat - by GiS - 15.03.2011, 19:43
Re: Global Chat - by Marricio - 15.03.2011, 19:46
Re: Global Chat - by blackwave - 15.03.2011, 19:49

Forum Jump:


Users browsing this thread: 3 Guest(s)