Functions magazinesAmmoCargo && weaponsItemsCargo will on some vehicles(bikes) return nil or null variable... which will cause "<null>" to be written to database which will in return cause vehicles in question fail to load.
My proposed change(i am not sure about it if its ok this way or not, but it works on my server) is
Hi,
i found a bug with code for updating vehicle weapon and magazine cargo.
Functions magazinesAmmoCargo && weaponsItemsCargo will on some vehicles(bikes) return nil or null variable... which will cause "<null>" to be written to database which will in return cause vehicles in question fail to load.
My proposed change(i am not sure about it if its ok this way or not, but it works on my server) is
Cheers, Icy.
Share this post
Link to post
Share on other sites