Hello! I'm making a simple Ai driver that avoids player vehicles and parked ones, I just cant find an easy way to get each vehicles coordinates from an array.
so far with CHEAT ENGINE I only found "(samp.dll + 0x13C600) + 0x724" this seems to be an array of wheels. problem is each offsets to the next vehicle wheel-set is a different size, for cars it seem to be "0xA18" for bikes its different, and sometimes its random, so my program will end up skipping vehicles and not detecting their coordinates.
I tried for too long and I am too stupid pls help.
so far with CHEAT ENGINE I only found "(samp.dll + 0x13C600) + 0x724" this seems to be an array of wheels. problem is each offsets to the next vehicle wheel-set is a different size, for cars it seem to be "0xA18" for bikes its different, and sometimes its random, so my program will end up skipping vehicles and not detecting their coordinates.
I tried for too long and I am too stupid pls help.