Jump to content

[ERRORS] RESOURCE ONLY FOR ADMINS


Recommended Posts

Hello, today i wanted make some resources only for administrators. Ok, i've 2 resources:

''fly'' (for car) and ''superman'' (for person)

I write it in fly:

if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Admin")) then

i wanted to do same thing in superman resource. I put the same script ^.

But still all players can fly, and always i get the next problem in console:

[21:23:01] ERROR: Client triggered serverside event superman:stop, but event is not added serverside

Solutions?? PLEASE GUYS :cry::?:oops:

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...