Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- 0000:
- const
- AVTO = 0@ // транспорт
- MODEL_AVTO = 1@ // модель транспорта
- STRUCT_AVTO = 2@ // структура транспорта
- end
- while true
- wait 0
- if
- 05F0: AVTO = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 0 pass_wrecked 1
- then
- repeat
- 0441: MODEL_AVTO = car AVTO model
- if
- MODEL_AVTO == 494 // поставить ID модели
- then
- 05E7: STRUCT_AVTO = car AVTO struct
- STRUCT_AVTO += 0x2B0
- 05DF: write_memory STRUCT_AVTO size 4 value 0x55 virtual_protect 0
- end
- until 85F0: not AVTO = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 1 pass_wrecked 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement