Skip to content

Commit

Permalink
📝 update commands
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 31, 2024
1 parent a8129e5 commit e990495
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gta3/snippets/CLEO/0AE3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ while true
x, y, z = get_active_camera_coordinates

// iterate near objects
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} false // initialize search, get first
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} false // initialize search, get first
while handle <> -1 // found!
DRAW_OBJECT_INFO(handle) // call function for every found object

handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} true // get next
handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} true // get next
end
end

Expand Down
4 changes: 2 additions & 2 deletions sa/snippets/CLEO/0AE3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ while true
x, y, z = get_active_camera_coordinates

// iterate near objects
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} false // initialize search, get first
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} false // initialize search, get first
while handle <> -1 // found!
DRAW_OBJECT_INFO(handle) // call function for every found object

handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} true // get next
handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} true // get next
end
end

Expand Down
4 changes: 2 additions & 2 deletions vc/snippets/CLEO/0AE3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ while true
x, y, z = get_active_camera_coordinates

// iterate near objects
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} false // initialize search, get first
int handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} false // initialize search, get first
while handle <> -1 // found!
DRAW_OBJECT_INFO(handle) // call function for every found object

handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 50.0 {findNext} true // get next
handle = get_random_object_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {findNext} true // get next
end
end

Expand Down

0 comments on commit e990495

Please sign in to comment.