Will this small code work?
#2

yeah

pawn Код:
public OnPlayerSpawn(playerid)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    if(gTeam[playerid] == TEAM_WS)
        {
                SetPlayerPos(playerid, 1667.8909, 1405.5618, 10.7801);
        }
    if(gTeam[playerid] == TEAM_A11)
        {
                SetPlayerPos(playerid, 1667.8909, 1405.5618, 10.7801);
        }
    if(gTeam[playerid] == TEAM_EC)
        {
                SetPlayerPos(playerid, 689.1548,-1275.1447,13.5590);
        }
    return 1;
}
something like that^^


EDIT:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));

may not be needed if that spawn stuff is there only
Reply


Messages In This Thread
Will this small code work? - by Criss_Angel - 06.08.2010, 13:03
Re: Will this small code work? - by willsuckformoney - 06.08.2010, 13:13
Re: Will this small code work? - by Cameltoe - 06.08.2010, 13:15
Re: Will this small code work? - by Criss_Angel - 06.08.2010, 13:20
Re: Will this small code work? - by Cameltoe - 06.08.2010, 13:37

Forum Jump:


Users browsing this thread: 2 Guest(s)