diff --git a/assets/gta3/snippets.json b/assets/gta3/snippets.json index 13470cd5..cfb1f776 100644 --- a/assets/gta3/snippets.json +++ b/assets/gta3/snippets.json @@ -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", diff --git a/assets/sa/snippets.json b/assets/sa/snippets.json index f49ccfea..3b161ed0 100644 --- a/assets/sa/snippets.json +++ b/assets/sa/snippets.json @@ -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", diff --git a/assets/vc/snippets.json b/assets/vc/snippets.json index 0aaf744a..25e96dea 100644 --- a/assets/vc/snippets.json +++ b/assets/vc/snippets.json @@ -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", diff --git a/ngsw.json b/ngsw.json index 3c54f356..6d4ab743 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1731949667610, + "timestamp": 1731974615784, "index": "/index.html", "assetGroups": [ {