What's wrong?
#7

Now that I've done that, the spawns have messed up.

I have this:

pawn Код:
else if(CurrentMap == 1)
    {
        switch (gTeam[playerid])
        {
            case 0:
            {
                new Spawn = random(sizeof(MapTwoSpawnsTeam1));
                SetPlayerPos(playerid,MapTwoSpawnsTeam1[Spawn][0],MapTwoSpawnsTeam1[Spawn][1],MapTwoSpawnsTeam1[Spawn][2]);
                SetPlayerFacingAngle(playerid,MapTwoSpawnsTeam1[Spawn][4]);
            }
            case 1:
            {
                new Spawn = random(sizeof(MapTwoSpawnsTeam2));
                SetPlayerPos(playerid,MapTwoSpawnsTeam2[Spawn][0],MapTwoSpawnsTeam2[Spawn][1],MapTwoSpawnsTeam2[Spawn][2]);
                SetPlayerFacingAngle(playerid,MapTwoSpawnsTeam2[Spawn][4]);
            }
        }
    }
and now they both spawn in the same position..

Thanks!
Reply


Messages In This Thread
What's wrong? - by iGetty - 08.05.2012, 19:43
Re: What's wrong? - by JaTochNietDan - 08.05.2012, 20:27
Re: What's wrong? - by iGetty - 08.05.2012, 20:32
Re: What's wrong? - by JaTochNietDan - 08.05.2012, 20:34
Re: What's wrong? - by iGetty - 08.05.2012, 20:41
Re: What's wrong? - by JaTochNietDan - 08.05.2012, 20:44
Re: What's wrong? - by iGetty - 08.05.2012, 21:00

Forum Jump:


Users browsing this thread: 1 Guest(s)