Hey,
habe das Problem, dass die Gangzone nicht flasht, nachdem ich angegriffen habe?
#define RM 0x9696967B
#define GSF 0x2DC300FF
forward UpdateGangZones();
public UpdateGangZones()
{
for(new i;i<MAX_GANGZONES;i++)
{
if(Gangzone[i] == -1) continue;
GangZoneHideForAll(Gangzone[i]);
GangZoneShowForAll(Gangzone[i], GetZoneColor(Gangzones[i][gOwner]));
if(Gangzones[i][gRunning] == 1)
{
GangZoneFlashForAll(Gangzone[i], GetZoneColor(Gangzones[i][gOwner]));
}
}
}
stock GetZoneColor(frakid)
{
if(frakid == 2) return RM;
else if(frakid == 4) return GSF;
else if(frakid == 0) return COLOR_WHITE;
else return 0;
}