capitanazop Posted June 9, 2008 Posted June 9, 2008 hi i have a problem when use this function. function pack ( playerSource, commandName ) setPlayerSkin(playerSource, 280) setPlayerMoney (playerSource, 50000) setPlayerArmor ( playerSource, 20 ) end addCommandHandler ( "pack1", pack ) function packi2 ( playerSource, commandName ) executeCommandHandler ( "pack1", playerSource ) end addCommandHandler ( "pack2", packi2 ) and display this error in the console. WARNING: diversion.lua Access denied @ `executeCommandHandler´ line 476. plz help bye and srry for my english
eAi Posted June 9, 2008 Posted June 9, 2008 You need to give the resource access to executeCommandHandler in the acl.xml file.
capitanazop Posted June 9, 2008 Author Posted June 9, 2008 You need to give the resource access to executeCommandHandler in the acl.xml file. thx eAi
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