Hey, i have a problem the loop event doesn't work
Code:
But it doesn't work it will add the money will be only to one player not to all
Code:
code_language.skript:
every 2 seconds:
if {gen.serv} is true:
loop all players:
if 1000 is greater than {gen.money.%loop-players%}:
add {gen.money.%loop-players%} to {money.%loop-players%}
add {gen.money.%loop-players%} to {money.%loop-players%}
add {gen.money.%loop-players%} to {money.%loop-players%}
stop
else:
set {gen.money.%loop-players%} to 1000
stop
Last edited: