SA-MP Forums Archive
Remove ooc chat [help] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Remove ooc chat [help] (/showthread.php?tid=86224)



Remove ooc chat [help] - Joruz_Tellino - 12.07.2009

Hey, ive got GF but i want to delete the ooc chat
so if i hit "t" i can talk to everybody

Please help

Thanks,


Re: Remove ooc chat [help] - MenaceX^ - 12.07.2009

You should've posted it in the GF topic.
Just delete the /o
Then go to OnPlayerText.
Where it supposes to talk in a close distance change it to SendClientMessageToAll(color,string);


Re: Remove ooc chat [help] - Joruz_Tellino - 13.07.2009

Quote:
Originally Posted by MenaceX^
You should've posted it in the GF topic.
Just delete the /o
Then go to OnPlayerText.
Where it supposes to talk in a close distance change it to SendClientMessageToAll(color,string);
no i mean when i hit "t" i can talk to everyone so not that only persons who near me can read..


Re: Remove ooc chat [help] - Abernethy - 13.07.2009

Look through OnPlayerText for the main chat.


Re: Remove ooc chat [help] - Westie - 13.07.2009

Quote:
Originally Posted by MenaceX^
You should've posted it in the GF topic.
Just delete the /o
Then go to OnPlayerText.
Where it supposes to talk in a close distance change it to SendClientMessageToAll(color,string);
Or you could just 'return true'.


Re: Remove ooc chat [help] - Joruz_Tellino - 13.07.2009

Quote:
Originally Posted by Abernethy
Look through OnPlayerText for the main chat.
Or should i just delete proxdetector?
pawn Код:
if (realchat)
    {
      if(gPlayerLogged[playerid] == 0)
      {
        return 0;
    }
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "%s Says: %s", sendername, text);
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
        return 0;
    }
    return 1;
}