08.05.2012, 21:00
Now that I've done that, the spawns have messed up.
I have this:
and now they both spawn in the same position..
Thanks!
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]);
}
}
}
Thanks!