tosfera Posted April 28, 2013 Posted April 28, 2013 Hey, Is there anyway to prevert people from changing their name? I've made it so far that they are being kicked for using the /nick command. so I was like; they can't change it now! and just a few mins later some1 changed it in their mta settings and had another name without reconnecting... I'd like to block all the ways to change your name. thanks! If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
MIKI785 Posted April 28, 2013 Posted April 28, 2013 Try cancelling the https://wiki.multitheftauto.com/wiki/OnPlayerChangeNick event Lua Scripter Owner of mshost.cz MTA portal.
tosfera Posted April 28, 2013 Author Posted April 28, 2013 This did actually work, thanks! addEventHandler("onPlayerChangeNick", getRootElement(), function() cancelEvent(); end ); If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
tosfera Posted April 28, 2013 Author Posted April 28, 2013 This did actually work, thanks! addEventHandler("onPlayerChangeNick", getRootElement(), function() cancelEvent(); end ); If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]
MIKI785 Posted April 28, 2013 Posted April 28, 2013 You're welcome Lua Scripter Owner of mshost.cz MTA portal.
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