Minotaur Posted June 14, 2013 Share 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 Link to comment
iPrestege Posted June 14, 2013 Share Posted June 14, 2013 Make no sense what's the handler of this function? Link to comment
Minotaur Posted June 14, 2013 Author Share Posted June 14, 2013 I dont know i noob in the scripting Link to comment
iPrestege Posted June 14, 2013 Share 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 . Link to comment
Minotaur Posted June 14, 2013 Author Share Posted June 14, 2013 yes i noob and thanks 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