When I want to get all peds in a loop, I always loop through the Ped Pool using this FAMOUS method since they claim it to be faster than "looping opcode 0AE1":
0A8D: 0@ = read_memory 0xB74490 size 4 virtual_protect 0
0@ += 4
0A8D: 0@ = read_memory 0@ size 4 virtual_protect 0
for 1@ = 0x0 to 8B00...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.