05.09.2010, 14:52
O.O lawl, i do have that
I didn't get any warning in whole script
pawn Code:
SetPlayerTeamFromClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_ARMY;
return 1;
}
else if(classid == 1)
{
gTeam[playerid] = TEAM_LSPD;
return 1;
}
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_ARMY)
{
SetPlayerColor(playerid, COLOR_BLUE);
}
else if (gTeam[playerid] == TEAM_LSPD)
{
SetPlayerColor(playerid, COLOR_INDIGO);
}
}