NPC:OnPlayerText - 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: NPC:OnPlayerText (
/showthread.php?tid=307895)
Deleted -
eDz0r - 01.01.2012
Deleted
Re: NPC:OnPlayerText - suhrab_mujeeb - 01.01.2012
The problem with it?
Re: NPC:OnPlayerText -
eDz0r - 01.01.2012
this is not working
pawn Code:
public OnPlayerText(playerid, text[])
{
new string[128];
format(string, sizeof(string), "You say: %s", text);
SendChat(string);
return 1;
}
Re: NPC:OnPlayerText -
Bogdan1992 - 01.01.2012
Try SendChat(COLOR_WHITE, string);
If is not working show me your public SendChat.
Re: NPC:OnPlayerText -
eDz0r - 01.01.2012
what public ?
Re: NPC:OnPlayerText -
Bogdan1992 - 01.01.2012
Show me your SendChat function.
Should be stock SendChat(etc).