Auto TrafFix0 .2
Página 1 de 1
Auto TrafFix0 .2
- Código:
{$CLEO}
0A8C: write_memory 0x4273C0 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x4273C4 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x4278FA size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x4278FE size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x42F991 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x42F995 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x42F997 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x42F99B size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x4308C9 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x4308CD size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x4308CF size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x4308D3 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x435BE1 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x435BE5 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x45ACA3 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x45ACA7 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x45ACA9 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x45ACAD size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x45ADD1 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x45ADD5 size 2 value 0x9090 virtual_protect 1
0A8C: write_memory 0x45ADD7 size 4 value 0x90909090 virtual_protect 1
0A8C: write_memory 0x45ADDB size 2 value 0x9090 virtual_protect 1
while true
wait 0
if or
not player.Defined($player_char)
$ONMISSION <> 0
then
continue
end
if
0AE2: 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 0 pass_wrecked 1 //IF and SET
then
repeat
if // and
not actor.InCar($player_actor 0@)
// 8975: not car 0@ emergency_vehicle
then
0A97: 29@ = car 0@ struct
0A8E: 24@ = 29@ + 1424 // int
0A8D: 24@ = read_memory 24@ size 1 virtual_protect 0
0AA8: call_function_method 0x6D1080 struct 29@ num_params 0 pop 0 25@
if or
25@ == 1
25@ == 2
then
if or
24@ == 0
24@ == 9
then
0A8E: 1@ = 29@ + 0x3B7 // int
0A8E: 2@ = 29@ + 0x3B8 // int
0A8C: write_memory 1@ size 1 value 0 virtual_protect 0
0A8C: write_memory 2@ size 1 value 0 virtual_protect 0
if
0975: car 0@ emergency_vehicle
then
continue
end
0441: 1@ = car 0@ model
07E4: get_model 1@ dimensions_cornerA_to 2@ 3@ 4@ dimensions_cornerB_to 5@ 6@ 7@
0087: 8@ = 6@ // (float)
0087: 9@ = 6@ // (float)
8@ += 0.01 // Y1
9@ += 15.0 // Y2
2@ -= 0.3 // X-
5@ += 0.3 // X+
0407: store_coords_to 3@ 4@ 6@ from_car 0@ with_offset 2@ 8@ 0.0
0407: store_coords_to 7@ 10@ 11@ from_car 0@ with_offset 2@ 9@ 0.0
0407: store_coords_to 12@ 13@ 14@ from_car 0@ with_offset 0.0 8@ 0.0
0407: store_coords_to 15@ 16@ 17@ from_car 0@ with_offset 0.0 9@ 0.0
0407: store_coords_to 18@ 19@ 20@ from_car 0@ with_offset 5@ 8@ 0.0
0407: store_coords_to 21@ 22@ 23@ from_car 0@ with_offset 5@ 9@ 0.0
02E3: 30@ = car 0@ speed
29@ += 0x3BB
if or
86BD: not no_obstacles_between 3@ 4@ 6@ and 7@ 10@ 11@ solid 0 car 1 actor 0 object 0 particle 0
86BD: not no_obstacles_between 12@ 13@ 14@ and 15@ 16@ 17@ solid 0 car 1 actor 0 object 0 particle 0
86BD: not no_obstacles_between 18@ 19@ 20@ and 21@ 22@ 23@ solid 0 car 1 actor 0 object 0 particle 0
then
if
30@ > 4.17
then
0A8C: write_memory 29@ size 1 value 24 virtual_protect 0
end
else
0A8D: 28@ = read_memory 29@ size 1 virtual_protect 0
if
28@ == 24
then
0A8C: write_memory 29@ size 1 value 0 virtual_protect 0
end
end
end
end
end
until 8AE2: not 0@ = random_vehicle_near_point 0.0 0.0 0.0 in_radius 10000.0 find_next 1 pass_wrecked 1 //IF and SET
end
end
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos