1 Player
#1

Solved
Reply
#2

Show your full code of changing team.
Reply
#3

Solved
Reply
#4

Nothing wrong as I see here (Or I'm stupid enough to missed it)
You're using timer, right? Show the timer. Perhaps you set it to repeating timer.
Reply
#5

pawn Код:
start:
new Random = Iter_Random(Player), count = 0;
if(Random == playerid) {
    count++;
    if(count > 4) return 1;
    goto start;
}
ZombieSpawn(Random);
Reply
#6

Solved
Reply
#7

So that will called every player spawned.
lol you remove your post and I forgot it. Do you have On‌ceOnly = 0; in it?
Reply
#8

Solved
Reply
#9

i would use something like a variable so:
Код:
// top of script
new teamvar;

// wherever
OnPlayerConnect
{
     if (teamvar == 0)
     {
           SetPlayerTeam(or whatever teh function is)
           teamvar == 1
     }
     else if(teamvar == 1)
     {
            SetPlayerTeam(still dont know the function)
            teamvar == 0
      }
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)