Jack_Miller Posted December 9, 2010 Posted December 9, 2010 Hi Guys. I don't use ACL on my Server, so everyone can start, restart and stop resources...that sucks.. Yesterday i finished a scipt exactly like the normal /start, /stop and /restart. removeCommandHandler don't work on it. So where is the normal /start function in? I searched in the standard resources but didn't find it...
Discord Moderators Zango Posted December 9, 2010 Discord Moderators Posted December 9, 2010 start, stop, restart, refresh etc. are native built in MTA commands. They cannot be disabled. I'd advise you to do the following: onClientResourceStart and onResourceStart, cancelEvent() unless a dynamic parameter on the certain resource is true (do for stop too) I would only advise you to fix your ACL. I am not sure how your server will react if one decides to spam one of the above
eAi Posted December 9, 2010 Posted December 9, 2010 Why not use the ACL on your server? Just disable start/stop/restart etc for everyone, it's a couple of lines of XML.
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