Question
#1

Hello, i was wondering if its possible to set the marker color, to players team color
Example If someone is in a "red" family, and another one is in a "green" family, but they join the same gangchat
they can see each other on the map. So my question if its possible to make that the markers are the same color
as their TeamColor? (SetPlayerToTeamColor(playerid)

pawn Код:
stock ShowGang(playah,gang)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && PlayerInfo[i][pGang] == gang && !PlayerInfo[i][pBanished])
        {
            SetPlayerMarkerForPlayer(i, playah, 0xFFFFFFAA);
            SetPlayerMarkerForPlayer(playah, i, 0xFFFFFFAA);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Question - by MayaEU - 11.07.2016, 14:27
Re: Question - by MayaEU - 11.07.2016, 14:53
Re: Question - by WhiteGhost - 11.07.2016, 14:56
Re: Question - by MayaEU - 11.07.2016, 14:59
Re: Question - by ArminKH - 11.07.2016, 15:02
Re: Question - by WhiteGhost - 11.07.2016, 15:04
Re: Question - by MayaEU - 11.07.2016, 15:12
Re: Question - by Mencent - 11.07.2016, 15:19
Re: Question - by MayaEU - 11.07.2016, 15:24
Re: Question - by WhiteGhost - 11.07.2016, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)