what is this bug, help guys pls.

Why when i write on the game, write 2 time....
Look the screen.


You need to return 0 in OnPlayerText if you're trying to handle chat yourself.

Thank you so much + 1

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.

Forum Jump:

Users browsing this thread: 1 Guest(s)