Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: grupy.
1. [INNE] Timer Wybieranie Grupy.
Wiem ja do was z pytaniem.

jak zmienic taki kod.

Kod:

stock OneZombie()
{
new count = 0;
new Random = Iter_Random(Player);
foreach(Player, i)
{
if(team[i] == TEAM_HUMAN) count++;
if(count == Iter_Count(Player))
{
ZombieSetup(Random);
}
}
return 1;
}

public RandomZombie() return Half();

stock Half()
{
new Humans;
foreach(Player, i)
{
if(Humans < 3)
{
HumanSetup(i);
ShowCoinDialog(i);
printf("Selected humans");
Humans ++;
}
else
{
ZombieSetup2(i);
printf("Selected zombies");
Humans = 0;
}
}
printf("Finished Selecting teams");
return 1;
}


Aby automatycznie losowa?o zombie, gdy? teraz jest tylko id 3 potem si? buguje i id 5 i tak w kolko