Minotaur Posted June 14, 2013 Posted June 14, 2013 Hello all i created this script but doesnt work anybody help me please function isPlayerInACL(player,acl) local account = getAccountName(getPlayerAccount(player)) if(isObjectInACLGroup("user."..account,aclGetGroup(acl))) then setElementModel(thePlayer, 1) outputChatBox("Only Admin Members can take this skin", 0, 255, 0) end
iPrestege Posted June 14, 2013 Posted June 14, 2013 Make no sense what's the handler of this function?
iPrestege Posted June 14, 2013 Posted June 14, 2013 -- # Server Side : addCommandHandler('skin', function ( player ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup('Admin')) then setElementModel ( player,1 ) else outputChatBox("Only Admin Members can take this skin",player,255,0,0) end end ) Also i think it's the time to learn scripting .
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