Jump to content

kickplayer (source) - Access denied


Recommended Posts

I want to use this script that kicks a player for spawning a Rocket launcher or minigun. I used the command in the script "kickplayer (source)" but whenever somebody spawns one it says on console "WARNING: mini.lua: Access denied @ 'kickPlayer' - Line: 6". How yould I allow it to kick aa player??? Also is there a command to make an exeption for admin class???

Link to comment

I myself have made a script for this before<< But anyway it is saying access denied because you have not gaven that resource admin rights.

If I am correct any element that wants to kick players needs admin rights rather its a player or a resource

The easiest way to solve this would be to add this resource under the acl.xml under the admin section

try putting this in there

 name="resource.yourresourcenamehere" />

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...