Advertisement
HolywoodJack

pedPoolVC

Apr 16th, 2022
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. {$CLEO}
  2. 0000: pedPool
  3.  
  4. repeat
  5. wait 250
  6. until 0256: player $PLAYER_CHAR defined
  7.  
  8. const
  9. ped = 15@
  10. end
  11.  
  12. while true
  13. wait 0
  14. 05E5: 0@ = game_version
  15. if 0@ == 0
  16. then
  17. 13@ = 0x97F2AC
  18. else
  19. 13@ = 0x97F2AC // not true
  20. end
  21.  
  22. 05E0: 13@ = read_memory 13@ size 4 virtual_protect 0
  23. 13@ += 4
  24. 05E0: 13@ = read_memory 13@ size 4 virtual_protect 0
  25. for 14@ = 0 to 35584 step 0x100 // 140
  26. 05E0: ped = read_memory 13@ size 1 virtual_protect 0
  27. 13@ += 1
  28. if and
  29. 0029: ped >= 0
  30. 001B: 0x80 > ped
  31. then
  32. 005A: ped += 14@
  33. if 02F2: actor ped model == #COP
  34. then
  35. // model cop detected, actors handle stored to ped
  36. end
  37. end
  38. end
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement