MatXpl Posted October 17, 2010 Posted October 17, 2010 Hi! I have script 'Pay Day' And i wont make this script only to acl group "workers" pls help! Script code: function allPlayersPayDay() local allPlayers = getElementsByType("player") for index,value in ipairs(allPlayers) do givePlayerMoney ( value, 1000 ) outputChatBox ( "You have 1000$ !", value ) end end function onResourceStart(thisResource) setTimer ( allPlayersPayDay, 3600000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) MTA:SA scripts/gamemodes/misc: http://www.mtasa.xn.pl
dzek (varez) Posted October 17, 2010 Posted October 17, 2010 so you did nothing. so this is request. blah blah. are you sure you want to check ACL, not TEAM? https://wiki.multitheftauto.com/wiki/Ser ... _functions https://wiki.multitheftauto.com/wiki/Ser ... _functions Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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