JustDance Posted May 9, 2010 Share Posted May 9, 2010 Hello again everyone! I have a question again. Here I want to kick a player at some point, but the functions do not work (cancelEvent ().... kickPlayer .... banPlayer .......) When using the function cancelEvent () in debuge not write something. When using kickPlayer (source) in debuge wrote: [09:52:17] WARNING: sftdm.lua: Access denied @ 'banPlayer' - Line: 177 Pls help me Link to comment
Jason_Gregory Posted May 9, 2010 Share Posted May 9, 2010 Open your Acl.xml and search for 'banPlayer' and set the Rights for banning Player to true. More Informations: https://wiki.multitheftauto.com/wiki/ACL Link to comment
robhol Posted May 9, 2010 Share Posted May 9, 2010 Open your Acl.xml and search for 'banPlayer' and set the Rights for banning Player to true.More Informations: https://wiki.multitheftauto.com/wiki/ACL I don't know how many times I've said this to you, but please! TRY to get a BASIC GRIP about your stuff before you try to INSTRUCT others! This is the wrong way to "solve" the problem. What you actually do, is find the Admin group, and add this resource in it. There's a reason resources aren't allowed to kick/ban players without being cleared to do so in the ACL. 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