well, I understand now what "break;" does, I don't understand what not make them like a line like so:
PHP Code:
function onActionServerSide(pl, this.lucky) {
for (pl : players) {
if (pl.level == "era_lucky-grab.nw") {
pl.setlevel2("era_luck-grab.nw", 30, 30);
triggerclient("gui", name, pl)
}
if (this.lucky == true)
pl.setlevel2("era_lucky-grab.nw", 30, 40);
}
pl.setlevel2("era_start.nw", 30, 30);
}
}
function onCreated() {
for (this.num = 0; this.num < 5; this.num--) {
}
}
//#CLIENTSIDE
function onPlayerChats() {
this.staff = "Events Team";
if (player.guild in this.staff && player.chat == "down") {
triggerserver("gui", name, NULL);
}
}
function onActionClientSide(pl) {
this.lucky = "Yay I'm luck!";
if (player.guild in this.staff && player.chat == ":timer") {
player.chat = "kicking in: " @ this.num;
if (player.this.staff.chat == "0")
sleep(3);
if (pl.level == "era_lucky-grab.nw" && player.chat == "Yay I'm lucky!")
triggerserver("gui", name, pl, this.lucky)
}
if (player.chat != this.lucky) {
triggerserver("gui", name, NULL)
}
}
}
}