mommytellme Posted May 22, 2014 Posted May 22, 2014 I would like to make personal, on short distance visible only.
csiguusz Posted May 22, 2014 Posted May 22, 2014 (edited) Read: https://wiki.multitheftauto.com/wiki/OnPlayerChat There's a small example: addEventHandler ( "onPlayerChat", root, function ( msg, msgType ) if msgType == 1 then cancelEvent () -- cancel default /me -- then you can handle the message as you want end end ) Edited May 22, 2014 by Guest
csiguusz Posted May 22, 2014 Posted May 22, 2014 Sorry, there was a typo. Copy my code again. Edit: Ah, thanks Krzo, you were faster.
mommytellme Posted May 22, 2014 Author Posted May 22, 2014 It does not act further < It's server-side?
csiguusz Posted May 22, 2014 Posted May 22, 2014 Yes, If you'd have read the wiki page I gave you, you'd know it.
mommytellme Posted May 22, 2014 Author Posted May 22, 2014 So, I know about it. I was asked only, in order to make sure .
csiguusz Posted May 22, 2014 Posted May 22, 2014 That's okay. But you can trust the wiki. If it says serverside then it is serverside.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now