diff --git a/gta3/snippets/default/0248.txt b/gta3/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/gta3/snippets/default/0248.txt +++ b/gta3/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/gta3/snippets/default/038B.txt b/gta3/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/gta3/snippets/default/038B.txt +++ b/gta3/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/gta3_mobile/snippets/default/0248.txt b/gta3_mobile/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/gta3_mobile/snippets/default/0248.txt +++ b/gta3_mobile/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/gta3_mobile/snippets/default/038B.txt b/gta3_mobile/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/gta3_mobile/snippets/default/038B.txt +++ b/gta3_mobile/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/gta3_unreal/snippets/default/0248.txt b/gta3_unreal/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/gta3_unreal/snippets/default/0248.txt +++ b/gta3_unreal/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/gta3_unreal/snippets/default/038B.txt b/gta3_unreal/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/gta3_unreal/snippets/default/038B.txt +++ b/gta3_unreal/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/sa/snippets/default/0248.txt b/sa/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/sa/snippets/default/0248.txt +++ b/sa/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/sa/snippets/default/038B.txt b/sa/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/sa/snippets/default/038B.txt +++ b/sa/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/sa_mobile/snippets/default/0248.txt b/sa_mobile/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/sa_mobile/snippets/default/0248.txt +++ b/sa_mobile/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/sa_mobile/snippets/default/038B.txt b/sa_mobile/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/sa_mobile/snippets/default/038B.txt +++ b/sa_mobile/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/sa_unreal/snippets/default/0248.txt b/sa_unreal/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/sa_unreal/snippets/default/0248.txt +++ b/sa_unreal/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/sa_unreal/snippets/default/038B.txt b/sa_unreal/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/sa_unreal/snippets/default/038B.txt +++ b/sa_unreal/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/vc/snippets/default/0248.txt b/vc/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/vc/snippets/default/0248.txt +++ b/vc/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/vc/snippets/default/038B.txt b/vc/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/vc/snippets/default/038B.txt +++ b/vc/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/vc_mobile/snippets/default/0248.txt b/vc_mobile/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/vc_mobile/snippets/default/0248.txt +++ b/vc_mobile/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/vc_mobile/snippets/default/038B.txt b/vc_mobile/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/vc_mobile/snippets/default/038B.txt +++ b/vc_mobile/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 diff --git a/vc_unreal/snippets/default/0248.txt b/vc_unreal/snippets/default/0248.txt index b850c7be..86854224 100644 --- a/vc_unreal/snippets/default/0248.txt +++ b/vc_unreal/snippets/default/0248.txt @@ -1,24 +1,9 @@ -while true - wait 0 - get_area_visible store_to interiorId - if and - is_key_pressed Key_F10 - interiorId == Outside - then - while is_key_pressed Key_F10 - wait 0 - end - request_model #HUSTLER - load_all_models_now - repeat - wait 0 - until has_model_loaded #HUSTLER - get_active_camera_coordinates store_to x y z - get_closest_car_node_with_heading x y z store_to nodeX nodeY nodeZ heading - clear_area nodeX nodeY nodeZ 3.0 False - create_car #HUSTLER nodeX nodeY nodeZ store_to Car - set_car_heading Car heading - mark_car_as_no_longer_needed Car - mark_model_as_no_longer_needed #HUSTLER - end -end \ No newline at end of file +request_model #SWAT + +while not has_model_loaded + wait {time} 0 // single render frame +end + +int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0 + +mark_model_as_no_longer_needed #SWAT \ No newline at end of file diff --git a/vc_unreal/snippets/default/038B.txt b/vc_unreal/snippets/default/038B.txt index 25ca6f1f..3dc021f3 100644 --- a/vc_unreal/snippets/default/038B.txt +++ b/vc_unreal/snippets/default/038B.txt @@ -1,4 +1,5 @@ request_model #SWAT + load_all_models_now int guy = create_char {type} PedType.CivMale {model} #SWAT {xyz} 2479.0 -1660.0 13.0