Natives returning objects

Hello,

Currently, all natives returning object are lua table but are not working like a “lua array”.
You cannot use for instance #GetGamePool(‘CPed’) despite the table having correctly ordered indexes { 20, 30, 40, 50 }

So it would be nice to have real “array”
So the # operator would work on GetAllVehicles, GetGamePool, GetActivePlayers etc.

1 Like

@gottfriedleibniz this might be a thing from your lua-cmsgpack?