Advertisement
Dimitri_UA

Untitled

Jul 10th, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. {$CLEO .cs}
  2.  
  3. 0000:
  4. const
  5. AVTO = 0@ // транспорт
  6. MODEL_AVTO = 1@ // модель транспорта
  7. STRUCT_AVTO = 2@ // структура транспорта
  8. end
  9.  
  10. while true
  11. wait 0
  12. if
  13. 05F0: AVTO = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 0 pass_wrecked 1
  14. then
  15. repeat
  16. 0441: MODEL_AVTO = car AVTO model
  17. if
  18. MODEL_AVTO == 494 // поставить ID модели
  19. then
  20. 05E7: STRUCT_AVTO = car AVTO struct
  21. STRUCT_AVTO += 0x2B0
  22. 05DF: write_memory STRUCT_AVTO size 4 value 0x55 virtual_protect 0
  23. end
  24. until 85F0: not AVTO = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 1 pass_wrecked 1
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement