manve1 Posted September 30, 2012 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) Looking for tutorials or information? check out: www.simpleask.co.uk
Anderl Posted September 30, 2012 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 "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
manve1 Posted September 30, 2012 Author Posted September 30, 2012 ty Looking for tutorials or information? check out: www.simpleask.co.uk
Anderl Posted September 30, 2012 Posted September 30, 2012 You're welcome "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
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