Skip to content

Commit

Permalink
deploy: 358e2ff
Browse files Browse the repository at this point in the history
  • Loading branch information
MiranDMC committed Nov 19, 2024
1 parent 3e855a9 commit 188ef5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions assets/gta3/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@
"0226": "const player=0\nint carl, health\nget_player_char player store_to carl\nget_char_health carl store_to health\nprint_with_number 'NUMBER' health 2000 true",
"023C": "load_special_character {slotId} 1 {modelName} 'SMOKE'\nload_all_models_now\nset_player_model $player1 {modelId} 290 // special slots starts at regular id 290\nunload_special_character {slotId} 1",
"0247": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0248": "request_model #SWAT\n\nwhile not has_model_loaded\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"0248": "request_model {modelId} #SWAT\n\nwhile not has_model_loaded {modelId} #SWAT\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0249": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0256": "if\n is_player_playing $player1\nthen\n print_string_now {text} \"Not wasted or busted\" {time} 1000\nend",
"029B": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object_no_offset {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
"0321": "float x,y,z, radius=15.0\nint Char\nwhile true\n wait 2000\n get_active_camera_coordinates store_to x y z\n if get_random_char_in_sphere_no_save_recursive x y z radius findNext True skipDead True store_to handle Char\n then explode_char_head Char\n end\nend",
"038B": "request_model #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"038B": "request_model {modelId} #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0395": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"03A1": "while true\n wait 0\n\n float x, y, z\n x, y, z = get_char_coordinates $scplayer\n\n draw_sphere {pos} x y z {diameter} 1.0\nend",
"03C0": "Car myCar = store_car_char_is_in_no_save $scplayer",
Expand Down
4 changes: 2 additions & 2 deletions assets/sa/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@
"0226": "const player=0\nint carl, health\nget_player_char player store_to carl\nget_char_health carl store_to health\nprint_with_number 'NUMBER' health 2000 true",
"023C": "load_special_character {slotId} 1 {modelName} 'SMOKE'\nload_all_models_now\nset_player_model $player1 {modelId} 290 // special slots starts at regular id 290\nunload_special_character {slotId} 1",
"0247": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0248": "request_model #SWAT\n\nwhile not has_model_loaded\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"0248": "request_model {modelId} #SWAT\n\nwhile not has_model_loaded {modelId} #SWAT\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0249": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0256": "if\n is_player_playing $player1\nthen\n print_string_now {text} \"Not wasted or busted\" {time} 1000\nend",
"029B": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object_no_offset {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
"0321": "float x,y,z, radius=15.0\nint Char\nwhile true\n wait 2000\n get_active_camera_coordinates store_to x y z\n if get_random_char_in_sphere_no_save_recursive x y z radius findNext True skipDead True store_to handle Char\n then explode_char_head Char\n end\nend",
"038B": "request_model #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"038B": "request_model {modelId} #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0395": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"03A1": "while true\n wait 0\n\n float x, y, z\n x, y, z = get_char_coordinates $scplayer\n\n draw_sphere {pos} x y z {diameter} 1.0\nend",
"03C0": "Car myCar = store_car_char_is_in_no_save $scplayer",
Expand Down
4 changes: 2 additions & 2 deletions assets/vc/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@
"0226": "const player=0\nint carl, health\nget_player_char player store_to carl\nget_char_health carl store_to health\nprint_with_number 'NUMBER' health 2000 true",
"023C": "load_special_character {slotId} 1 {modelName} 'SMOKE'\nload_all_models_now\nset_player_model $player1 {modelId} 290 // special slots starts at regular id 290\nunload_special_character {slotId} 1",
"0247": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0248": "request_model #SWAT\n\nwhile not has_model_loaded\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"0248": "request_model {modelId} #SWAT\n\nwhile not has_model_loaded {modelId} #SWAT\n wait {time} 0 // single render frame\nend\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0249": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"0256": "if\n is_player_playing $player1\nthen\n print_string_now {text} \"Not wasted or busted\" {time} 1000\nend",
"029B": "int modelId = 910\nrequest_model {modelId} modelId\nload_all_models_now\nint obj = create_object_no_offset {modelId} modelId {pos} 2490.0 -1666.0 14.0\nmark_model_as_no_longer_needed {modelId} modelId",
"0321": "float x,y,z, radius=15.0\nint Char\nwhile true\n wait 2000\n get_active_camera_coordinates store_to x y z\n if get_random_char_in_sphere_no_save_recursive x y z radius findNext True skipDead True store_to handle Char\n then explode_char_head Char\n end\nend",
"038B": "request_model #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0\n\nmark_model_as_no_longer_needed #SWAT",
"038B": "request_model {modelId} #SWAT\n\nload_all_models_now\n\nint guy = create_char {type} PedType.CivMale {modelId} #SWAT {xyz} 2500.0 -1660.0 -100.0\n\nmark_model_as_no_longer_needed {modelId} #SWAT",
"0395": "while true\n wait 0\n get_area_visible store_to interiorId\n if and\n is_key_pressed Key_F10\n interiorId == Outside\n then\n while is_key_pressed Key_F10\n wait 0\n end\n request_model #HUSTLER\n load_all_models_now\n repeat \n wait 0\n until has_model_loaded #HUSTLER\n get_active_camera_coordinates store_to x y z\n get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading\n clear_area nodeX nodeY nodeZ 3.0 False\n create_car #HUSTLER nodeX nodeY nodeZ store_to Car\n set_car_heading Car heading\n mark_car_as_no_longer_needed Car\n mark_model_as_no_longer_needed #HUSTLER\n end\nend",
"03A1": "while true\n wait 0\n\n float x, y, z\n x, y, z = get_char_coordinates $scplayer\n\n draw_sphere {pos} x y z {diameter} 1.0\nend",
"03C0": "Car myCar = store_car_char_is_in_no_save $scplayer",
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": 1731949667610,
"timestamp": 1731974615784,
"index": "/index.html",
"assetGroups": [
{
Expand Down

0 comments on commit 188ef5c

Please sign in to comment.