How to get a Zone Color?
#1

Is there a way to get a gang's zone color?

The idea is, instead of making something elaborate that will block the same gang, from re-capture that zone, i use the player name color, (That i also use to set the gang zone color, when capturing), and compare it with the zone color...

Cant find a way to do so...

Any idea how?
Reply
#2

Come 2 skype
Reply
#3

Are you using a pre determinated colors for GangZones?
Reply
#4

An example here

pawn Код:
forward GetGangZoneColor(id);
public GetGangZoneColor(id)
{
    switch(GangZone[id][gzFaction])
    {
        case GROVE: return 0x00FF0050;
        case BRIGADA: return 0xFFFF0050;
        case RATS: return 0xBB000050;
        case 255: return 0xB9B9B950;
    }
    return 0xFFFFFFFF;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)