Posts: 33
Threads: 0
Joined: Jun 2014
Reputation:
0
You need to return 0 in OnPlayerText if you're trying to handle chat yourself.
Posts: 867
Threads: 104
Joined: Jul 2010
Reputation:
0
If you return anything but 0 (or don't return anything), script will think that callback for some reason failed, and it will trigger (execute) default handler, that will cause issue you have.
Return status 0 means there were no problems and everything executed well - so in that case server (SA-MP executable) won't execute default handler.