Quote:
Originally Posted by ItsRobinson
Just do this:
PHP код:
/*Top of script*/
#define TEAM_MAFIA 0x69696999;
#define TEAM_BIKER 0xFF660099;
/*etc...*/
/*replace yours with*/ GangZoneShowForPlayer(playerid, ZoneID[i], ZoneInfo[i][zTeam]);
That way it is storing the gangs color to zTeam already, the way you have it right now, you haven't defined your team ids, which means when you're assigning them, they're all equal to 0, hence why you're getting the same color.
|
thank you very much friend (i copy it), but I am talking about when you attack a base and it flashes when changing color, it keeps the previous color and superposes the new color of your team. Can you help me? +rep