#1

hi i want each faction to have diffrecnt colours (ex: Dan_Barocu is in faction yakuza) im from diffrect coountry i hope you get it!!
Reply
#2

You mean all the faction to have other colors? like the yellow dan_Barocu for yakuza..
Reply
#3

like that plz where do i edit in in the (Gm)?
Reply
#4

can someone help me ?
Reply
#5

SetPlayerColor
Like this:
Код:
SetPlayerTeamFromClass(playerid, classid)
{
    if (classid == 1)
    {
        gTeam[playerid] = TEAM_POLICE;
    }
    if(classid == 2)
    {
        gTeam[playerid] = TEAM_MAFIA;
    }
}

SetPlayerToTeamColor(playerid)
{
    if (gTeam[playerid] == TEAM_POLICE)
    {
        SetPlayerColor(playerid, COLOR_AQUA);
    }
    else if (gTeam[playerid] == TEAM_MAFIA)
    {
        SetPlayerColor(playerid, COLOR_BROWN);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)