06.08.2010, 13:03
Код:
public OnPlayerSpawn(playerid) { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); if(gTeam[playerid] == TEAM_WS) SetSpawnInfo(playerid, TEAM_WS, 271, 1667.8909, 1405.5618, 10.7801, 0.0, 448, 300, 355, 300, 358, 300); SpawnPlayer(playerid); if(gTeam[playerid] == TEAM_A11) SetSpawnInfo(playerid, TEAM_A11, 270, 1667.8909, 1405.5618, 10.7801, 0.0, 448, 300, 355, 300, 358, 300); SpawnPlayer(playerid); if(gTeam[playerid] == TEAM_EC) SetSpawnInfo(playerid, TEAM_EC, 269, 689.1548,-1275.1447,13.5590, 0.0, 448, 300, 355, 300, 358, 300); SpawnPlayer(playerid); return 1; }