Skip to content

Commit

Permalink
deploy: 8c76a3a
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Oct 31, 2024
1 parent c54c8b5 commit 3d54e0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/gta3/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"0AD1": "while true\n wait 0\n \n char playerChar = get_player_char 0 // player 1\n \n float x, y, z\n x, y, z = get_char_coordinates playerChar\n \n int worldIdx = get_char_area_visible playerChar\n \n print_formatted_now {format} \"Position: %0.1f %0.1f %0.1f ~n~ Interior: %d\" {time} 50 {args} x y z worldIdx\nend",
"0AD3": "int buf = allocate_memory 64\nstring_format buf \"%d + %d = %d\" 2 2 4\nfree_memory buf",
"0AE1": "float x,y,z\nChar ped\n\nwhile true\n wait 0\n \n if\n test_cheat \"1\"\n then\n get_active_camera_coordinates {store_to} x y z\n \n if\n get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} false {skip_dead} true {store_to} ped\n then\n explode_char_head ped // the first one\n \n while get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} true {skip_dead} true {store_to} ped\n explode_char_head ped\n end\n else\n print_formatted_now \"First not found\" {time} 4000\n end\n end\nend",
"0AE2": "const LockoutPlayerOnly = 3\nfloat x,y,z, radius=10.0\nint Car\nwhile true\n wait 100\n get_active_camera_coordinates store_to x y z\n if get_random_car_in_sphere_no_save_recursive x y z radius findNext True skipWrecked True store_to Car\n then lock_car_doors Car lockStatus LockoutPlayerOnly\n end\nend"
"0AE2": "while true\n wait {time} 100\n\n float x, y, z\n x, y, z = get_active_camera_coordinates\n \n int color = generate_random_int_in_range {min} 0 {max} 9\n \n // iterate near cars\n int handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // initialize search, get first\n while handle <> -1 // found!\n change_car_colour handle {color1} color {color2} color\n \n handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // get next\n end\nend"
},
"bitwise": {
"0B10": "<%= output1 %> = 2 and 3 // 0b10 and 0b11 = 0b10 (2)",
Expand Down
2 changes: 1 addition & 1 deletion assets/sa/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"0AD1": "while true\n wait 0\n \n char playerChar = get_player_char 0 // player 1\n \n float x, y, z\n x, y, z = get_char_coordinates playerChar\n \n int worldIdx = get_char_area_visible playerChar\n \n print_formatted_now {format} \"Position: %0.1f %0.1f %0.1f ~n~ Interior: %d\" {time} 50 {args} x y z worldIdx\nend",
"0AD3": "int buf = allocate_memory 64\nstring_format buf \"%d + %d = %d\" 2 2 4\nfree_memory buf",
"0AE1": "float x,y,z\nChar ped\n\nwhile true\n wait 0\n \n if\n test_cheat \"1\"\n then\n get_active_camera_coordinates {store_to} x y z\n \n if\n get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} false {skip_dead} true {store_to} ped\n then\n explode_char_head ped // the first one\n \n while get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} true {skip_dead} true {store_to} ped\n explode_char_head ped\n end\n else\n print_formatted_now \"First not found\" {time} 4000\n end\n end\nend",
"0AE2": "const LockoutPlayerOnly = 3\nfloat x,y,z, radius=10.0\nint Car\nwhile true\n wait 100\n get_active_camera_coordinates store_to x y z\n if get_random_car_in_sphere_no_save_recursive x y z radius findNext True skipWrecked True store_to Car\n then lock_car_doors Car lockStatus LockoutPlayerOnly\n end\nend",
"0AE2": "while true\n wait {time} 100\n\n float x, y, z\n x, y, z = get_active_camera_coordinates\n \n int color = generate_random_int_in_range {min} 0 {max} 9\n \n // iterate near cars\n int handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // initialize search, get first\n while handle <> -1 // found!\n change_car_colour handle {color1} color {color2} color\n \n handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // get next\n end\nend",
"0DD5": "get_platform 0@\nprint_help_formatted \"Platform is %d\" 0@",
"2000": ":my_funct\n get_cleo_arg_count 31@\n print_formatted_now \"called with %d arguments\" {time} 3000 {args} 31@\ncleo_return",
"2002": "cleo_return_with true retArgs 0@",
Expand Down
2 changes: 1 addition & 1 deletion assets/vc/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"0AD1": "while true\n wait 0\n \n char playerChar = get_player_char 0 // player 1\n \n float x, y, z\n x, y, z = get_char_coordinates playerChar\n \n int worldIdx = get_char_area_visible playerChar\n \n print_formatted_now {format} \"Position: %0.1f %0.1f %0.1f ~n~ Interior: %d\" {time} 50 {args} x y z worldIdx\nend",
"0AD3": "int buf = allocate_memory 64\nstring_format buf \"%d + %d = %d\" 2 2 4\nfree_memory buf",
"0AE1": "float x,y,z\nChar ped\n\nwhile true\n wait 0\n \n if\n test_cheat \"1\"\n then\n get_active_camera_coordinates {store_to} x y z\n \n if\n get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} false {skip_dead} true {store_to} ped\n then\n explode_char_head ped // the first one\n \n while get_random_char_in_sphere_no_save_recursive {pos} x y z {radius} 30.0 {find_next} true {skip_dead} true {store_to} ped\n explode_char_head ped\n end\n else\n print_formatted_now \"First not found\" {time} 4000\n end\n end\nend",
"0AE2": "const LockoutPlayerOnly = 3\nfloat x,y,z, radius=10.0\nint Car\nwhile true\n wait 100\n get_active_camera_coordinates store_to x y z\n if get_random_car_in_sphere_no_save_recursive x y z radius findNext True skipWrecked True store_to Car\n then lock_car_doors Car lockStatus LockoutPlayerOnly\n end\nend"
"0AE2": "while true\n wait {time} 100\n\n float x, y, z\n x, y, z = get_active_camera_coordinates\n \n int color = generate_random_int_in_range {min} 0 {max} 9\n \n // iterate near cars\n int handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // initialize search, get first\n while handle <> -1 // found!\n change_car_colour handle {color1} color {color2} color\n \n handle = get_random_car_in_sphere_no_save_recursive {pos} x y z {radius} 40.0 {findNext} true {skipWrecked} true // get next\n end\nend"
},
"bitwise": {
"0B10": "<%= output1 %> = 2 and 3 // 0b10 and 0b11 = 0b10 (2)",
Expand Down
2 changes: 1 addition & 1 deletion ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1730388810482,
"timestamp": 1730403427072,
"index": "/index.html",
"assetGroups": [
{
Expand Down

0 comments on commit 3d54e0f

Please sign in to comment.