20.02.2019, 07:23
Auto increment ID is not meant to be used as array index. It is just a database identifier! Use `x` as array index and start the loops from index 0.
You should also have a global variable to know upper bound of gang zones. If you load 28 gang zones, it is different to loop 28 times instead of 1024 times because of < MAX_GANG_ZONES.
If the problem is still not fixed, post functions `GangZoneCreateEx` and `GangZoneShowForPlayerEx`.
You should also have a global variable to know upper bound of gang zones. If you load 28 gang zones, it is different to loop 28 times instead of 1024 times because of < MAX_GANG_ZONES.
If the problem is still not fixed, post functions `GangZoneCreateEx` and `GangZoneShowForPlayerEx`.