Recently I’ve been doing my own thing, messing around with gLua really and I just happened to make some sort of concept what i honestly thought would work but didn’t. As simple as I can mention the concept is literally…well have a look…
for _,t in pairs(player.GetAll() ) do
if t:Team() == TEAM_CITIZEN then
What the result of this code should be is if the specific ‘Team’ is what is stated then share out the value between the team, somehow it just gives all of the team 1000 each when in all purpose it should share it out i.e ( 2 Citizens meaning $500 each ). I’m curious to findout what I’ve done wrong.
Thank you for your time, hope you can help!