SA-MP Forums Archive
Very big Problem (I don't think it's from the GM) - 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: Very big Problem (I don't think it's from the GM) (/showthread.php?tid=82035)



Very big Problem (I don't think it's from the GM) - FreeSoul - 15.06.2009

Ok so I use a GF edit.After we play a while,everybody sees what certain players are typing.Like in Las Venturas Money Grab.
Never saw or herd about something like this.

Thanks in advance
Have a nice day/night


Re: Very big Problem (I don't think it's from the GM) - Luka P. - 15.06.2009

Did you change something in OnPlayerText or used command /noooc?



Re: Very big Problem (I don't think it's from the GM) - FreeSoul - 15.06.2009

Only thing changed in OnPlayerText

Quote:

if (realchat)
{
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
if(NameOff[playerid] == 1)
{
if(gPlayerLogged[playerid] == 1)
{
format(string, sizeof(string), "Unknown Says: %s", text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_F ADE4,COLOR_FADE5);
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_F ADE4,COLOR_FADE5);
return 0;
}
return 1;

The NameOff Thing