Load gang zones problem
#2

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`.
Reply


Messages In This Thread
Load gang zones problem - by None1337 - 19.02.2019, 18:15
Re: Load gang zones problem - by Calisthenics - 20.02.2019, 07:23

Forum Jump:


Users browsing this thread: 1 Guest(s)