CobbTheWarriorsRPG Posted December 8, 2012 Share Posted December 8, 2012 Hello,Im trying to doing a resource who make it the group in ACL Get all The Weapon Stats to 1000 But this dont work,Someone can help me? it is the code function changeBodyStrength ( player, commandName ) local accountname = getAccountName(getPlayerAccount(source)) if isObjectInACLGroup("user."..accountname,aclGetGroup("swat")) then ( setPlayerStat ( player, 73, 1000 ) ) addCommandHandler ( "vipstat", changeBodyStrength ) Im reading the wiki but i dont know Link to comment
Castillo Posted December 8, 2012 Share Posted December 8, 2012 function changeBodyStrength ( player ) local accountname = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ( "user.".. accountname, aclGetGroup ( "swat" ) ) then for stat = 69, 79 do setPedStat ( player, stat, 1000 ) end end end addCommandHandler ( "vipstat", changeBodyStrength ) That'll set all the weapon skills to maximum. Link to comment
CobbTheWarriorsRPG Posted December 8, 2012 Author Share Posted December 8, 2012 Thanks castillo it works,And how can i make like i have a anim window,How can i do only the members VIP on the aclgroup can open it? 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