15.11.2011, 13:05
pawn Код:
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == BLUE_TEAM)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(gTeam[i] == BLUE_TEAM)
{
SetPlayerMarkerForPlayer(playerid, i, COLOR_BLUE);
}
}
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == BLUE_TEAM)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(gTeam[i] == BLUE_TEAM)
{
SetPlayerMarkerForPlayer(playerid, i, COLOR_BLUE);
}
}
}
return 1;
}