PashaBiceps Posted March 14, 2019 Share Posted March 14, 2019 (edited) Hi guys, i'm trying add some data for the players that went in determinate acl group but without success. function aclpm (thePlayer) accName = getAccountName (getPlayerAccount (thePlayer)) if isObjectInACLGroup("user."..accName, aclGetGroup ("PM")) and getElementType(thePlayer) == "player" then thePlayer:setData("Venda:Police.Job", true); thePlayer:getAccount():setData("Venda:Police.Job", thePlayer:getData("Venda:Police.Job")); end end What is wrong? Thanks in advance for any help Edited March 14, 2019 by GodKraken 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