Team Spawning Issues
#5

PHP код:
public OnPlayerSpawn(playerid)
{
    if(
gTeam[playerid] == TEAM_CIVILIAN)
    {
        switch(
random(4))
        {
            case 
0:
            {
                
SetPlayerPos(playerid,2079.7163 ,1340.230810.8203);
            }
            case 
1:
            {
                
SetPlayerPos(playerid2081.41601292.607210.8203);
            }
            case 
2:
            {
                
SetPlayerPos(playerid2035.41031293.570310.8203);
            }
            case 
3:
            {
                
SetPlayerPos(playerid2020.41031292.570310.8203);
            }
        }
    }
    else if(
gTeam[playerid] == TEAM_POLICE)
    {
        
SetPlayerPos(playerid,2084.2632,1236.8361,10.8203);
    }
    
StopAudioStreamForPlayer(playerid);

Reply


Messages In This Thread
Team Spawning Issues - by spawnzlive - 17.10.2012, 18:21
Re: Team Spawning Issues - by Danyal - 17.10.2012, 18:25
Re: Team Spawning Issues - by spawnzlive - 17.10.2012, 18:27
Re : Team Spawning Issues - by Ataraxia - 17.10.2012, 18:29
Re: Team Spawning Issues - by SumX - 17.10.2012, 18:29
Re : Team Spawning Issues - by Ataraxia - 17.10.2012, 18:31
Re: Team Spawning Issues - by Danyal - 17.10.2012, 18:32
Re: Team Spawning Issues - by SumX - 17.10.2012, 18:32
Re: Team Spawning Issues - by spawnzlive - 17.10.2012, 18:33

Forum Jump:


Users browsing this thread: 2 Guest(s)