Skip to content
#1295
Auto-translated
regarding breake: I stepped in, I fixed it. if you need only the part that works with a variable to be disabled, then put any other parameter together with the if statement where the variable is. example: a = 0
b = 0
c = 0
hp = random(1);
dp = random(1);
tep = random(1);

function politica()
while 1 do
if dp == 1 and a == 0 then
a = 1
SetPlayerTeam(2,1);
print("Demon is on you!");
sleep(5);
else
SetPlayerTeam(2,2);
print("Demon is not on you");
sleep(5);
end;
if hp == 1 and b == 0 then
b = 1
SetPlayerTeam(3,1);
print("Human is on you!");
sleep(5);
else
SetPlayerTeam(3,3);
print("Human is not on you");
sleep(5);
end;
if tep == 1 and c == 0 then
c = 1
SetPlayerTeam(4,1);
print("Dark elf is on you!");
sleep(5);
else
SetPlayerTeam(2,2);
print("Dark elf is not on you");
sleep(5);
end;

end;
end;

startThread(politica);

Statistics

Welcome our newest member: dodoD0D0