29.11.2011, 20:08
Well , Yah i am Questionable - But really , i am just trying to learn - Forgive me
Anyway.. I Did this..
At the Bottom of the Script..It Complies without Warnings / Errors But when i Choose any of the Teams my color doesn't Change...
Any Help would be Appreciated.
Anyway.. I Did this..
PHP код:
stock SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_Mafia1)
{
SetPlayerColor(playerid, TCOLOR_LIGHTGREEN);
}
else if (gTeam[playerid] == TEAM_Mafia2)
{
SetPlayerColor(playerid, TCOLOR_NAVYBLUE);
}
else if (gTeam[playerid] == TEAM_Mafia3)
{
SetPlayerColor(playerid, TCOLOR_BEIGE);
}
}
Any Help would be Appreciated.