what is this bug, help guys pls.
#1

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

Reply
#2

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

Thank you so much + 1
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)