razvan2299 Posted January 31, 2014 Share 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! Link to comment
BorderLine Posted January 31, 2014 Share 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 Link to comment
razvan2299 Posted February 1, 2014 Author Share Posted February 1, 2014 Whici of those 2 files is the serverside? x.lua or xclient.lua? Link to comment
TheGamingMann Posted February 1, 2014 Share 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. 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