skybad Posted October 5, 2014 Posted October 5, 2014 Hi i need to know if its possible block the command "reconnect" and "quit"
King12 Posted October 5, 2014 Posted October 5, 2014 Not sure but maybe this works.. Server side addEventHandler ( "onPlayerCommand", root, function (cmd) if ( cmd == "reconnect" ) then cancelEvent () elseif ( cmd == "quit" ) then cancelEvent () end end )
Mr_Moose Posted October 6, 2014 Posted October 6, 2014 @King12, That will work just fine: https://wiki.multitheftauto.com/wiki/OnPlayerCommand
Moderators IIYAMA Posted October 6, 2014 Moderators Posted October 6, 2014 Will not work and can't be prevented.
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