manve1 Posted September 30, 2012 Share Posted September 30, 2012 I made a script which should 100% work, but it doesn't, it is in meta as server side, but i get error in debug script 3 that on the acl part "getPlayerName" argument 1 has an error function plata( source ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then givePlayerMoney( v, 1 ) end end setTimer ( plata, 2300, 0) Link to comment
Anderl Posted September 30, 2012 Share Posted September 30, 2012 (edited) setTimer( function() for key,value in next, getElementsByType 'player' do if (isObjectInACLGroup('user.'..getAccountName(getPlayerAccount(value)), aclGetGroup('Admin'))) then givePlayerMoney(value, 1) end end end, 2300, 0 ) Edited September 30, 2012 by Guest 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