18.06.2012, 14:58
Quote:
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 Код:
|
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);
}