skybad Posted October 5, 2014 Share Posted October 5, 2014 Hi i need to know if its possible block the command "reconnect" and "quit" Link to comment
King12 Posted October 5, 2014 Share 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 ) Link to comment
Mr_Moose Posted October 6, 2014 Share Posted October 6, 2014 @King12, That will work just fine: https://wiki.multitheftauto.com/wiki/OnPlayerCommand Link to comment
Moderators IIYAMA Posted October 6, 2014 Moderators Share Posted October 6, 2014 Will not work and can't be prevented. Link to comment
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