maximumdrive Posted July 23, 2019 Share Posted July 23, 2019 It sounds funny, but I met such a problem in 2019 I googled for and found, that 'register'-command was somewhere in admin's resource ('commands.xml'-file). But CTRL+F doesn't think in such a way... Looked through both of 'admin' and 'admin2' resources. Please help. Link to comment
Dimos7 Posted July 23, 2019 Share Posted July 23, 2019 if you want disable the command for everyone i have a simple way go to acl.xml find everoune and put the command and right be false and done Link to comment
HassoN Posted July 23, 2019 Share Posted July 23, 2019 use onPlayerCommand check if the command is register then use cancelEvent(). Link to comment
DNL291 Posted July 23, 2019 Share Posted July 23, 2019 admin/server/admin_server.Lua : https://github.com/multitheftauto/mtasa-resources/blob/master/[admin]/admin/server/admin_server.Lua#L460 @maximumdrive 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