[HELP]Player Spawning Position
#1

I made 4 Teams..
USA
RUSSIA
UK
China
and for these i want different spawn points.. like if Player choose USA he should spawn in USA base and i made that
pawn Код:
if(GetPlayerTeam(playerid == TEAM_USA))
    {
       SetPlayerPos(playerid, -2026.0000,1073.0000,55.5703);
    }
    if(GetPlayerTeam(playerid == TEAM_RUSSIA))
    {
       SetPlayerPos(playerid, -1721.0000,853.0000,24.7344);
    }
    if(GetPlayerTeam(playerid == TEAM_UK))
    {
       SetPlayerPos(playerid, -1554.7438,928.7686,7.0391);
    }
    if(GetPlayerTeam(playerid == TEAM_CHINA))
    {
       SetPlayerPos(playerid, -1347.7363,504.7618,18.2344);
    }
The problem is that even if i select China Uk or Russia it spawns me at USA base... any help would be Apriciated.
Reply


Messages In This Thread
[HELP]Player Spawning Position - by Jarnu - 18.06.2012, 14:55
Re: [HELP]Player Spawning Position - by Randy More - 18.06.2012, 14:57
Re: [HELP]Player Spawning Position - by [MM]RoXoR[FS] - 18.06.2012, 14:58
Re: [HELP]Player Spawning Position - by Jarnu - 18.06.2012, 15:07
Re: [HELP]Player Spawning Position - by rachit_rocks - 18.06.2012, 15:37
Re: [HELP]Player Spawning Position - by Jarnu - 18.06.2012, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)