Black2 Posted June 3, 2015 Posted June 3, 2015 How put command only for admin ? I could already do this, but this time I'm not getting. I managed to do it this way,I do exactly the same but nothing happens. "Admin"> "command.command" access="true"> "Default"> "command.command" access="false">
xXMADEXx Posted June 3, 2015 Posted June 3, 2015 Use the hasObjectPermissionTo function. The Ultimate Lua Tutorial! | MTA PHP SDK
Enargy, Posted June 4, 2015 Posted June 4, 2015 Use the hasObjectPermissionTo function. Also isObjectInACLGroup - Inactivo.
xXMADEXx Posted June 4, 2015 Posted June 4, 2015 Use the hasObjectPermissionTo function. Also isObjectInACLGroup He would use isObjectInACLGroup if he wanted to check if a player is in an ACL group. The hasObjectPermissionTo function just checks if a user has a right for something like command.ban. The Ultimate Lua Tutorial! | MTA PHP SDK
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