razvan2299 Posted January 31, 2014 Posted January 31, 2014 I wanna make this resource avalabile only for the admins!https://community.multitheftauto.com/index.php?p=resources&s=details&id=71 Peace!
BorderLine Posted January 31, 2014 Posted January 31, 2014 serverside line 22 local accountName = getAccountName(playerAccount) if not isObjectInACLGroup("user."..accountName,aclGetGroup("Admin")) then return end same lines to all weapons
razvan2299 Posted February 1, 2014 Author Posted February 1, 2014 Whici of those 2 files is the serverside? x.lua or xclient.lua?
TheGamingMann Posted February 1, 2014 Posted February 1, 2014 x would be your serverside. just look at the name "client" would mean client side. Also you can check the meta with the types.
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