Local chat doesnt works. - 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)
+--- Thread: Local chat doesnt works. (
/showthread.php?tid=436986)
Local chat doesnt works. -
lQs - 13.05.2013
/SOLVED
Re: Local chat doesnt works. -
Calabresi - 13.05.2013
Do you have any timers associated with any of your chat functions?
Re: Local chat doesnt works. -
stabker - 13.05.2013
Show your full OnPlayerText, please.
(Sorry for my bad English)
Re: Local chat doesnt works. -
lQs - 13.05.2013
/SOLVED
Re: Local chat doesnt works. -
Calabresi - 13.05.2013
pawn Код:
public OnPlayerText(playerid, text[])
{
if (realchat)
{
new string[128];
format(string, sizeof(string), "%s says: %s", GetName(playerid), text);
SendNearbyMessage(playerid, 15, string, COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
return 0;
}