PDA

View Full Version : NPC:OnPlayerText


eDz0r
01/01/2012, 02:26 PM
Deleted

suhrab_mujeeb
01/01/2012, 02:27 PM
The problem with it?

eDz0r
01/01/2012, 02:29 PM
this is not working


public OnPlayerText(playerid, text[])
{
new string[128];

format(string, sizeof(string), "You say: %s", text);
SendChat(string);
return 1;
}

Bogdan1992
01/01/2012, 02:56 PM
Try SendChat(COLOR_WHITE, string);
If is not working show me your public SendChat.

eDz0r
01/01/2012, 05:03 PM
what public ?

Bogdan1992
01/01/2012, 05:27 PM
Show me your SendChat function.
Should be stock SendChat(etc).