From 09b91ca6d719023be7092f7e634e138cdbe36f06 Mon Sep 17 00:00:00 2001 From: Arthur <121949966+ShinyWasabi@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:46:48 +0300 Subject: [PATCH] Add Return Value Support for Script Functions (#3479) * Add Return Value Support for Script Functions * Removed address-of operator on instruction_pointer parameter, as sol is pass-by-value. * Fixed reset_session_data & start_creator_script * Added support for Vector3 and updated casting for bool type for proper conversion to Lua boolean * Updated documentation for scr_function * Added get_int method and updated param names for script functions * Fix #3497 graceful landing not saved. * Added a check in view_lsc to see if the vehicle can accept clan logos first. * Fixed vehicle clan logo SP bypass not working properly. * Fixed COPY VEHICLE not giving persist_car_service::spawn_vehicle_json the target's ped so it can copy their clan logo and not ours. Fixed spawn_vehicle_json calling add_clan_logo_to_vehicle with our logo and not the ped parameter's logo. * Added Clone Player Car. * Fixed has_clan_logo check in view_lsc being given the wrong parameter. --------- Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com> --- docs/lua/classes/pointer.md | 24 + docs/lua/tables/scr_function.md | 43 + docs/lua/tables/script.md | 16 - src/backend/backend.cpp | 15 +- src/backend/backend.hpp | 1 - src/backend/commands/player/misc/join_ceo.cpp | 2 +- .../player/vehicle/clone_player_car.cpp | 29 + src/backend/looped/looped.hpp | 2 - src/backend/looped/self/dance_mode.cpp | 63 - src/backend/looped/vehicle/ls_customs.cpp | 102 - src/backend/script_patches.hpp | 10 +- src/core/scr_globals.hpp | 13 - src/core/settings.hpp | 11 +- src/gta/vehicle_values.hpp | 3015 ----------------- .../protections/script_event_handler.cpp | 2 - src/hooks/script/gta_thread_kill.cpp | 6 - src/lua/bindings/memory.cpp | 2 + src/lua/bindings/runtime_func_t.hpp | 4 + src/lua/bindings/scr_function.cpp | 360 ++ src/lua/bindings/scr_function.hpp | 8 + src/lua/bindings/script.cpp | 23 - src/lua/bindings/type_info_t.hpp | 3 +- src/lua/lua_module.cpp | 2 + src/main.cpp | 1 - src/native_hooks/am_pi_menu.hpp | 1 - src/native_hooks/carmod_shop.hpp | 41 - src/native_hooks/freemode.hpp | 2 +- src/native_hooks/native_hooks.cpp | 6 - src/script_function.cpp | 130 +- src/script_function.hpp | 117 +- .../context_menu/context_menu_service.hpp | 2 +- .../creator_storage_service.cpp | 8 +- src/services/vehicle/persist_car_service.cpp | 9 +- .../vehicle_helper/vehicle_helper.cpp | 17 - .../vehicle_helper/vehicle_helper.hpp | 1 - src/util/scripts.hpp | 9 +- src/util/session.hpp | 10 +- src/util/vehicle.cpp | 3 +- src/views/debug/view_debug_misc.cpp | 4 - src/views/players/player/player_vehicle.cpp | 1 + src/views/self/view_self.cpp | 2 - src/views/vehicle/view_lsc.cpp | 35 +- 42 files changed, 606 insertions(+), 3549 deletions(-) create mode 100644 docs/lua/tables/scr_function.md create mode 100644 src/backend/commands/player/vehicle/clone_player_car.cpp delete mode 100644 src/backend/looped/self/dance_mode.cpp delete mode 100644 src/backend/looped/vehicle/ls_customs.cpp create mode 100644 src/lua/bindings/scr_function.cpp create mode 100644 src/lua/bindings/scr_function.hpp delete mode 100644 src/native_hooks/carmod_shop.hpp diff --git a/docs/lua/classes/pointer.md b/docs/lua/classes/pointer.md index 242c8f89..86ebe206 100644 --- a/docs/lua/classes/pointer.md +++ b/docs/lua/classes/pointer.md @@ -63,6 +63,18 @@ Rips the current memory address and returns a new pointer object. pointer = pointer:rip(offset) ``` +### `get_int()` + +Retrieves the value stored at the memory address as the specified type. + +- **Returns:** + - `number`: the value stored at the memory address as the specified type. + +**Example Usage:** +```lua +number = pointer:get_int() +``` + ### `get_byte()` Retrieves the value stored at the memory address as the specified type. @@ -123,6 +135,18 @@ Retrieves the value stored at the memory address as the specified type. number = pointer:get_qword() ``` +### `set_int(value)` + +Sets the value at the memory address to the specified value of the given type. + +- **Parameters:** + - `value` (number): new value. + +**Example Usage:** +```lua +pointer:set_int(value) +``` + ### `set_byte(value)` Sets the value at the memory address to the specified value of the given type. diff --git a/docs/lua/tables/scr_function.md b/docs/lua/tables/scr_function.md new file mode 100644 index 00000000..10ccaab2 --- /dev/null +++ b/docs/lua/tables/scr_function.md @@ -0,0 +1,43 @@ +# Table: scr_function + +Table for calling GTA script functions. Needs to be called in the fiber pool or a GTA script. Only call the function when necessary. + +## Functions (2) + +### `call_script_function(script_name, function_name, pattern, return_type_string, args_)` + +Calls a script function with the given arguments. Returns the return value as the given type. + +- **Parameters:** + - `script_name` (string): Name of the script. + - `function_name` (string): Name of the function. This parameter needs to be unique. + - `pattern` (string): Pattern to scan for within the script. + - `return_type_string` (string): Return type of the function. Supported types are **"int"**, **"bool"**, **"const char\*/string"**, **"ptr/pointer/*"**, **"float"**, and **"vector3"**. Anything different will be rejected. + - `_args` (table): Arguments to pass to the function. Supported types are the same as return types. + +**Example Usage:** +```lua +local value = scr_function.call_script_function("freemode", "wear_sunglasses_at_night", "69 42 06 66", "bool", { + { "int", 69 }, + { "float", 4.20 }, + { "int", 666 } +}) +``` + +### `call_script_function(script_name, instruction_pointer, return_type_string, args_)` + +Calls a script function directly using the function position with the given arguments. Returns the return value as the given type. + +- **Parameters:** + - `script_name` (string): Name of the script. + - `function_name` (string): Name of the function. + - `instruction_pointer` (integer): Position of the function within the script. + - `return_type_string` (string): Return type of the function. Supported types are **"int"**, **"bool"**, **"const char\*/string"**, **"ptr/pointer/*"**, **"float"**, and **"vector3"**. Anything different will be rejected. + - `_args` (table): Arguments to pass to the function. Supported types are the same as return types. + +**Example Usage:** +```lua +local value = scr_function.call_script_function("freemode", 0xE792, "string", { + { "int", 191 } +}) +``` \ No newline at end of file diff --git a/docs/lua/tables/script.md b/docs/lua/tables/script.md index 3ed540a3..a468166d 100644 --- a/docs/lua/tables/script.md +++ b/docs/lua/tables/script.md @@ -106,22 +106,6 @@ Adds a patch for the specified script. script.add_patch("fm_content_xmas_truck", "Flickering Fix", "56 ? ? 4F ? ? 40 ? 5D ? ? ? 74", 0, {0x2B, 0x00, 0x00}) ``` -### `call_function(name, script_name, pattern, offset, _args)` - -Calls a function from the specified script. - -- **Parameters:** - - `name` (string): The name of the script function. - - `script_name` (string): The name of the script. - - `pattern` (string): The pattern to scan for within the script. - - `offset` (integer): The position within the pattern. - - `_args` (table): The arguments to pass to the script function. - -**Example Usage:** -```lua -script.call_function("Collect Collectible", "freemode", "2D 05 33 00 00", 0, {17, 0, 1, 1, 0}) -``` - ### `start_launcher_script(script_name)` Tries to start a launcher script. Needs to be called in the fiber pool or a loop. diff --git a/src/backend/backend.cpp b/src/backend/backend.cpp index d88bee85..2b1c11af 100644 --- a/src/backend/backend.cpp +++ b/src/backend/backend.cpp @@ -54,7 +54,6 @@ namespace big { looped::self_wanted(); looped::self_hud(); - looped::self_dance_mode(); looped::self_persist_outfit(); script::get_current()->yield(); @@ -149,21 +148,9 @@ namespace big } } - void backend::lscustoms_loop() - { - LOG(INFO) << "Starting script: Ls customs"; - - while (g_running) - { - looped::vehicle_ls_customs(); - - script::get_current()->yield(); - } - } - void backend::rainbowpaint_loop() { - LOG(INFO) << "Starting script: Rainbow paint"; + LOG(INFO) << "Starting script: Rainbow Paint"; while (g_running) { diff --git a/src/backend/backend.hpp b/src/backend/backend.hpp index c8b195a1..b66103f3 100644 --- a/src/backend/backend.hpp +++ b/src/backend/backend.hpp @@ -13,7 +13,6 @@ namespace big static void vehicles_loop(); static void misc_loop(); static void remote_loop(); - static void lscustoms_loop(); static void rainbowpaint_loop(); static void disable_control_action_loop(); static void world_loop(); diff --git a/src/backend/commands/player/misc/join_ceo.cpp b/src/backend/commands/player/misc/join_ceo.cpp index 56e53e74..686a88fb 100644 --- a/src/backend/commands/player/misc/join_ceo.cpp +++ b/src/backend/commands/player/misc/join_ceo.cpp @@ -9,7 +9,7 @@ namespace big virtual void execute(player_ptr player, const command_arguments& _args, const std::shared_ptr ctx) override { - scr_functions::join_ceo({player->id(), 0, false, false}); + scr_functions::set_as_ceo.call(player->id(), 0, false, false); } }; diff --git a/src/backend/commands/player/vehicle/clone_player_car.cpp b/src/backend/commands/player/vehicle/clone_player_car.cpp new file mode 100644 index 00000000..1b928544 --- /dev/null +++ b/src/backend/commands/player/vehicle/clone_player_car.cpp @@ -0,0 +1,29 @@ +#include "backend/player_command.hpp" +#include "natives.hpp" +#include "services/vehicle/persist_car_service.hpp" +#include "util/entity.hpp" + +namespace big +{ + class clone_player_car : player_command + { + using player_command::player_command; + + virtual void execute(player_ptr player, const command_arguments& _args, const std::shared_ptr ctx) override + { + Player player_id = player->id(); + Ped ped = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(player_id); + if (!PED::IS_PED_IN_ANY_VEHICLE(ped, true)) + { + g_notification_service.push_warning("TOXIC"_T.data(), "ERROR_PLAYER_IS_NOT_IN_VEHICLE"_T.data()); + } + else + { + Vehicle v = persist_car_service::clone_ped_car(ped, PED::GET_VEHICLE_PED_IS_USING(ped)); + PED::SET_PED_INTO_VEHICLE(PLAYER::PLAYER_PED_ID(), v, -1); + } + } + }; + + clone_player_car g_clone_player_car("cloneplayercar", "SPAWN_CLONE", "", 0); +} diff --git a/src/backend/looped/looped.hpp b/src/backend/looped/looped.hpp index 4a626a4c..21b23fbd 100644 --- a/src/backend/looped/looped.hpp +++ b/src/backend/looped/looped.hpp @@ -27,7 +27,6 @@ namespace big static void self_wanted(); static void self_hud(); - static void self_dance_mode(); static void self_persist_outfit(); static void session_pop_multiplier_areas(); @@ -48,7 +47,6 @@ namespace big static void vehicle_auto_drive(); static void vehicle_allow_all_weapons(); static void vehicle_boost_behavior(); - static void vehicle_ls_customs(); static void vehicle_rainbow_paint(); static void weapons_tp_gun(); diff --git a/src/backend/looped/self/dance_mode.cpp b/src/backend/looped/self/dance_mode.cpp deleted file mode 100644 index 968e5487..00000000 --- a/src/backend/looped/self/dance_mode.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include "backend/looped/looped.hpp" -#include "natives.hpp" -#include "script_function.hpp" -#include "services/script_patcher/script_patcher_service.hpp" -#include "util/scripts.hpp" - -namespace big -{ - bool bLastDanceMode = false; - void looped::self_dance_mode() - { - if (g.self.dance_mode && SCRIPT::GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH("maintransition"_J) > 0) - g.self.dance_mode = false; - - if (g.self.dance_mode && g.self.dance_mode != bLastDanceMode) - { - g_script_patcher_service->update(); - scripts::request_script("am_mp_nightclub"_J); - if (!scripts::wait_till_loaded("am_mp_nightclub"_J)) - return; - - auto thread = SYSTEM::START_NEW_SCRIPT_WITH_NAME_HASH("am_mp_nightclub"_J, 19400 /*PROPERTY_INT*/); - SCRIPT::SET_SCRIPT_WITH_NAME_HASH_AS_NO_LONGER_NEEDED("am_mp_nightclub"_J); - - if (!thread) - return; - - g.m_dance_thread = gta_util::find_script_thread_by_id(thread); - g.m_dance_program = gta_util::find_script_program("am_mp_nightclub"_J); - - g.m_dance_thread->m_context.m_state = rage::eThreadState::unk_3; - - // perform initial setup - gta_util::execute_as_script(g.m_dance_thread, [] { - NETWORK::NETWORK_SET_THIS_SCRIPT_IS_NETWORK_SCRIPT(32, true, 32); - scr_functions::init_nightclub_script({}); - }); - - scr_functions::dance_loop.populate_ip(); - bLastDanceMode = true; - return; - } - - if (!g.self.dance_mode && g.self.dance_mode != bLastDanceMode) - { - if (g.m_dance_thread) - g.m_dance_thread->kill(); - - g.m_dance_thread = nullptr; - g.m_dance_program = nullptr; - - g_script_patcher_service->update(); - bLastDanceMode = false; - return; - } - - if (g.self.dance_mode && g.m_dance_thread->m_handler) - { - *scr_globals::dance_state.as() = TRUE; //Never once do the scripts read this as a boolean. It seems to be some kind of state the player is in. Runs from 4 to 35. - scr_functions::dance_loop.call(g.m_dance_thread, g.m_dance_program, {}); - } - } -} diff --git a/src/backend/looped/vehicle/ls_customs.cpp b/src/backend/looped/vehicle/ls_customs.cpp deleted file mode 100644 index b8d7772f..00000000 --- a/src/backend/looped/vehicle/ls_customs.cpp +++ /dev/null @@ -1,102 +0,0 @@ -#include "backend/looped/looped.hpp" -#include "backend/looped/looped.hpp" -#include "gta/enums.hpp" -#include "gta_util.hpp" -#include "script_function.hpp" -#include "script_local.hpp" -#include "services/script_patcher/script_patcher_service.hpp" -#include "util/math.hpp" -#include "util/scripts.hpp" - -namespace big -{ - static bool bLastLsCustoms = false; - static bool bModshopReady = false; - - void looped::vehicle_ls_customs() - { - if (g.vehicle.ls_customs && g.vehicle.ls_customs != bLastLsCustoms) - { - g_fiber_pool->queue_job([] { - scripts::request_script("carmod_shop"_J); - if (scripts::wait_till_loaded("carmod_shop"_J)) - { - HUD::REQUEST_ADDITIONAL_TEXT("MOD_MNU", 9); - - while (!HUD::HAS_THIS_ADDITIONAL_TEXT_LOADED("MOD_MNU", 9)) - script::get_current()->yield(); - - GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("CommonMenu", false); - GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("MPShopSale", false); - GRAPHICS::REQUEST_STREAMED_TEXTURE_DICT("ShopUI_Title_Los_Santos_Car_Meet", false); - - // clang-format off - while (!GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("CommonMenu") - || !GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("MPShopSale") - || !GRAPHICS::HAS_STREAMED_TEXTURE_DICT_LOADED("ShopUI_Title_Los_Santos_Car_Meet")) - script::get_current()->yield(); - // clang-format on - - auto id = SYSTEM::START_NEW_SCRIPT_WITH_NAME_HASH("carmod_shop"_J, 5050); - if (!id) - return; - - g.m_modshop_thread = gta_util::find_script_thread_by_id(id); - if (!g.m_modshop_thread) - return; - - g.m_modshop_thread->m_context.m_state = rage::eThreadState::unk_3; - scr_functions::modshop_loop.populate_ip(); - scr_functions::setup_modshop.populate_ip(); - - g_script_patcher_service->update(); - - scr_functions::setup_modshop.call_latent(g.m_modshop_thread, gta_util::find_script_program("carmod_shop"_J), {45, 0, 18, 0}, bModshopReady); - *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::state).as() = 2; - *scr_locals::carmod_shop::input_button.set(g.m_modshop_thread->m_stack).as() = ControllerInputs::INPUT_FRONTEND_LT; - } - }); - bLastLsCustoms = true; - } - else if (!g.vehicle.ls_customs && g.vehicle.ls_customs != bLastLsCustoms) - { - if (g.m_modshop_thread) - g.m_modshop_thread->kill(); - - GRAPHICS::SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED("CommonMenu"); - GRAPHICS::SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED("MPShopSale"); - GRAPHICS::SET_STREAMED_TEXTURE_DICT_AS_NO_LONGER_NEEDED("ShopUI_Title_Los_Santos_Car_Meet"); - - g.m_modshop_thread = nullptr; - bLastLsCustoms = false; - bModshopReady = false; - g_script_patcher_service->update(); - } - - if (self::veh == 0 || SCRIPT::GET_NUMBER_OF_THREADS_RUNNING_THE_SCRIPT_WITH_THIS_HASH("maintransition"_J) > 0 || (!g.m_modshop_thread && bModshopReady)) - { - g.vehicle.ls_customs = false; - return; - } - - if (g.vehicle.ls_customs && g.m_modshop_thread) - { - PAD::DISABLE_CONTROL_ACTION(0, (int)ControllerInputs::INPUT_VEH_CIN_CAM, true); - - if (*scr_locals::carmod_shop::enabled_state.set(g.m_modshop_thread->m_stack).as() && PAD::IS_CONTROL_JUST_PRESSED(2, (int)ControllerInputs::INPUT_FRONTEND_ACCEPT)) - g.vehicle.ls_customs = false; - } - - if (g.vehicle.ls_customs && bModshopReady && g.m_modshop_thread && g.m_modshop_thread->m_stack) - { - *scr_locals::carmod_shop::ready.set(g.m_modshop_thread->m_stack).as() = FALSE; - *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::vehicle_state).as() = -1; - *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::vehicle_ent_id).as() = self::veh; - - if (*scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::state).as() == 0) - *scr_locals::carmod_shop::maintainer.set(g.m_modshop_thread->m_stack).at(scr_locals::carmod_shop::state).as() = 2; - - scr_functions::modshop_loop.call(g.m_modshop_thread, gta_util::find_script_program("carmod_shop"_J), {}); - } - } -} diff --git a/src/backend/script_patches.hpp b/src/backend/script_patches.hpp index 80f8dc7c..574195be 100644 --- a/src/backend/script_patches.hpp +++ b/src/backend/script_patches.hpp @@ -20,17 +20,13 @@ namespace big g_script_patcher_service->add_patch({"freemode"_J, "prevent normal blip update 2", "2C ? ? ? 55 ? ? 71 2C ? ? ? 61", 7, std::vector(16, 0x0), &g.spoofing.spoof_blip}); // prevent normal blip update 2 g_script_patcher_service->add_patch({"freemode"_J, "stop relinquishing invalid CEO slots", "2D 01 05 00 00 38 00 2C ? ? ? 39 03 38 03 2C ? ? ? 56", 5, {0x2E, 0x01, 0x00}, &g.session.block_ceo_creation}); // stop relinquishing invalid CEO slots g_script_patcher_service->add_patch({"freemode"_J, "prevent NPC bounties", "2D 04 06 00 00 25 1D", 5, {0x2E, 0x04, 0x00}, &g.protections.script_events.bounty}); // disable NPCs putting bounties on us. - g_script_patcher_service->add_patch({"shop_controller"_J, "despawn bypass", "2D 01 04 00 00 2C ? ? ? 56 ? ? 71", 5, {0x71, 0x2E, 0x01, 0x01}, nullptr}); // despawn bypass - g_script_patcher_service->add_patch({"shop_controller"_J, "godmode/invisibility detection bypass", "2D 01 03 00 00 5D ? ? ? 06 56 ? ? 2E ? ? 2C", 5, {0x2E, 0x01, 0x00}, nullptr}); // godmode/invisibility detection bypass - g_script_patcher_service->add_patch({"am_mp_nightclub"_J, "am_mp_nightclub1", "2D 01 03 00 00 2C ? ? ? 56 ? ? 72 2E ? ? 38 00", 5, {0x72, 0x2E, 0x01, 0x01}, &g.self.dance_mode}); - g_script_patcher_service->add_patch({"am_mp_nightclub"_J, "am_mp_nightclub2", "20 56 ? ? 4F ? ? 46 ? ? 41 ? 71", 0, {0x2B, 0x55}, &g.self.dance_mode}); g_script_patcher_service->add_patch({"freemode"_J, "freemode9", "5D ? ? ? 56 ? ? 72 39 05 38 04 2C ? ? ? 58", 0, {0x2B, 0x2B, 0x2B, 0x00, 0x55}, &g.self.invisibility}); g_script_patcher_service->add_patch({"freemode"_J, "freemode10", "2D 01 03 00 00 38 00 71 72 5D ? ? ? 06 56 ? ? 71 2E ? ? 2C ? ? ? 71", 5, {0x72, 0x2E, 0x01, 0x01}, &g.session.unhide_players_from_player_list}); - g_script_patcher_service->add_patch({"carmod_shop"_J, "disable camera", "2D 01 0A 00 00 4F ? ? 40 ? 41 ? 39 03", 5, {0x2E, 0x01, 0x00}, &g.vehicle.ls_customs}); // disable camera - g_script_patcher_service->add_patch({"carmod_shop"_J, "carmod_shop1", "2D 02 10 00 00 2C", 5, {0x71, 0x2E, 0x02, 0x01}, &g.vehicle.ls_customs}); - g_script_patcher_service->add_patch({"carmod_shop"_J, "carmod_shop2", "2D 00 B8 00 00", 5, {0x2E, 0x00, 0x00}, &g.vehicle.ls_customs}); + g_script_patcher_service->add_patch({"shop_controller"_J, "despawn bypass", "2D 01 04 00 00 2C ? ? ? 56 ? ? 71", 5, {0x71, 0x2E, 0x01, 0x01}, nullptr}); // despawn bypass + g_script_patcher_service->add_patch({"shop_controller"_J, "godmode/invisibility detection bypass", "2D 01 03 00 00 5D ? ? ? 06 56 ? ? 2E ? ? 2C", 5, {0x2E, 0x01, 0x00}, nullptr}); // godmode/invisibility detection bypass g_script_patcher_service->add_patch({"carmod_shop"_J, "allow all vehicles", "2D 03 16 00 00 38 00", 5, {0x72, 0x2E, 0x03, 0x01}, nullptr}); // allow all vehicles g_script_patcher_service->add_patch({"carmod_shop"_J, "allow all vehicles 2", "2D 03 07 00 00 71 38 02", 5, {0x72, 0x2E, 0x03, 0x01}, nullptr}); // allow all vehicles 2 + g_script_patcher_service->add_patch({"main_persistent"_J, "vehicle clan logo SP bypass", "56 04 00 72 2E 01 01 2C 01 04 1F 5D ? ? ? 74", 0, {0x55}, nullptr}); // vehicle clan logo SP bypass for (auto& entry : *g_pointers->m_gta.m_script_program_table) { diff --git a/src/core/scr_globals.hpp b/src/core/scr_globals.hpp index 11133190..09bd7712 100644 --- a/src/core/scr_globals.hpp +++ b/src/core/scr_globals.hpp @@ -37,8 +37,6 @@ namespace big::scr_globals static inline const script_global freemode_global(2738934); static inline const script_global spawn_global(2696212); - - static inline const script_global dance_state(1943520); static inline const script_global transaction_overlimit(20913); @@ -107,15 +105,4 @@ namespace big::scr_locals // func_\d+\((&.Local_\d+(, )?){9}\); inline static script_local mobile(19139); } - - namespace carmod_shop - { - inline static script_local maintainer(735); //P"4F ? ? 47 ? ? 73 58 ? ? 4F ? ? 25 ?" +1 W="maintainer" +3 W ="state" - inline static auto state = 446; - inline static script_local input_button(1867); //P"51 ? ? 70 51 ? ? 50 ? ? 51 ? ?" +1 W="input_button" - inline static script_local enabled_state(2097); //P"51 ? ? 71 51 ? ? 71 51 ? ? 71 61 ? ? ?" +1 W="enabled_state" - inline static script_local ready(2048); //P"51 ? ? 50 ? ? 2A" +1 W="ready" - inline static auto vehicle_state = 638; //P"4F ? ? 46 ? ? 4F ? ?" +4 W ="vehicle_state" - inline static auto vehicle_ent_id = 409; //P"4F ? ? 47 ? ? 39 ? 55 ? ? 38 ? 73" +4 W ="vehicle_ent_id" - } } diff --git a/src/core/settings.hpp b/src/core/settings.hpp index fdc1dac1..44b16f77 100644 --- a/src/core/settings.hpp +++ b/src/core/settings.hpp @@ -80,9 +80,6 @@ namespace big rage::scrThread* m_hunt_the_beast_thread = nullptr; - rage::scrThread* m_dance_thread = nullptr; - rage::scrProgram* m_dance_program = nullptr; - rage::scrThread* m_mission_creator_thread = nullptr; struct script_block_opts @@ -114,8 +111,7 @@ namespace big bool enabled = false; } cmd_executor{}; - rage::scrThread* m_modshop_thread = nullptr; - bool in_script_vm = false; + bool in_script_vm = false; struct debug { @@ -396,8 +392,6 @@ namespace big NLOHMANN_DEFINE_TYPE_INTRUSIVE(hud, color_override, color_override_initialized, hud_color_overrides, hide_radar, hide_ammo, selected_hud_component, hud_components_states, force_show_hud_element, force_show_hud) } hud{}; - // do not save below entries - bool dance_mode = false; struct super_hero_fly { @@ -413,7 +407,7 @@ namespace big NLOHMANN_DEFINE_TYPE_INTRUSIVE(super_hero_fly, gradual, explosions, auto_land, charge, ptfx, fly_speed, initial_launch) } super_hero_fly{}; - NLOHMANN_DEFINE_TYPE_INTRUSIVE(self, ipls, ptfx_effects, clean_player, never_wanted, force_wanted_level, passive, free_cam, invisibility, local_visibility, no_ragdoll, noclip, noclip_aim_speed_multiplier, noclip_speed_multiplier, off_radar, super_run, no_collision, unlimited_oxygen, no_water_collision, wanted_level, god_mode, proof_bullet, proof_fire, proof_collision, proof_melee, proof_explosion, proof_steam, proof_water, proof_mask, mobile_radio, fast_respawn, auto_tp, super_jump, beast_jump, healthregen, healthregenrate, hud, superman, custom_weapon_stop, prompt_ambient_animations, persist_outfit, persist_outfits_mis, interaction_menu_freedom, super_hero_fly) + NLOHMANN_DEFINE_TYPE_INTRUSIVE(self, ipls, ptfx_effects, clean_player, never_wanted, force_wanted_level, passive, free_cam, invisibility, local_visibility, no_ragdoll, noclip, noclip_aim_speed_multiplier, noclip_speed_multiplier, off_radar, super_run, no_collision, unlimited_oxygen, no_water_collision, wanted_level, god_mode, proof_bullet, proof_fire, proof_collision, proof_melee, proof_explosion, proof_steam, proof_water, proof_mask, mobile_radio, fast_respawn, auto_tp, super_jump, beast_jump, healthregen, healthregenrate, hud, superman, custom_weapon_stop, prompt_ambient_animations, persist_outfit, persist_outfits_mis, interaction_menu_freedom, super_hero_fly, graceful_landing) } self{}; @@ -806,7 +800,6 @@ namespace big bool instant_brake = false; bool infinite_veh_ammo = false; bool block_homing = true; - bool ls_customs = false; // don't save this to disk bool seatbelt = false; bool turn_signals = false; bool vehicle_jump = false; diff --git a/src/gta/vehicle_values.hpp b/src/gta/vehicle_values.hpp index 4f5e9aff..d08cf831 100644 --- a/src/gta/vehicle_values.hpp +++ b/src/gta/vehicle_values.hpp @@ -793,3018 +793,3 @@ enum HeadlightColors #define TIRESMOKE_COLOR_PINK 203, 54, 148 #define TIRESMOKE_COLOR_BROWN 180, 130, 97 #define TIRESMOKE_COLOR_PATRIOT 0, 0, 0 - -static bool GetVehicleInfoForClanLogo(Hash vehicleModel, rage::fvector3& x, rage::fvector3& y, rage::fvector3& z, float& scale) -{ - switch (vehicleModel) - { - case VEHICLE_DOMINATOR: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FELTZER2: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ADDER: - x = {0.0f, 1.54f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_AKUMA: - x = {0.0f, 0.06f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.18f; - return true; - case VEHICLE_ASEA: - x = {0.0f, 1.5f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ASTEROPE: - x = {0.0f, 1.7f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BAGGER: - x = {-1.0f, 0.16f, 0.283f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.09f; - return true; - case VEHICLE_BALLER: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BALLER2: - x = {0.0f, 1.55f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BANSHEE: - x = {0.0f, 0.94f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_BATI: - x = {0.0f, 0.2f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_BATI2: - x = {0.0f, 0.2f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_BFINJECTION: - x = {-1.0f, 0.08f, 0.19f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BISON: - x = {0.0f, 1.99f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BJXL: - x = {0.0f, 1.2f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_BLISTA: - x = {0.0f, 1.49f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.29f; - return true; - case VEHICLE_BOBCATXL: - x = {0.0f, 1.68f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.65f; - return true; - case VEHICLE_BODHI2: - x = {0.0f, 1.95f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BUCCANEER: - x = {0.0f, 2.01f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.37f; - return true; - case VEHICLE_BUFFALO: - x = {0.0f, 1.6f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BUFFALO2: - x = {0.0f, 2.24f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_BULLET: - x = {-1.57f, 0.07f, 0.16f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_CARBONRS: - x = {0.0f, 0.09f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.18f; - return true; - case VEHICLE_CARBONIZZARE: - x = {0.0f, 1.45f, 1.0f}; - y = {0.0f, -0.11f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_CAVALCADE: - x = {0.0f, 1.51f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.55f; - return true; - case VEHICLE_CAVALCADE2: - x = {0.0f, 1.59f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_CHEETAH: - x = {-1.61f, 0.26f, 0.17f}; - y = {0.9f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_COGCABRIO: - x = {0.0f, 1.42f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_COMET2: - x = {0.0f, 1.35f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_COQUETTE: - x = {0.0f, 0.96f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.22f; - return true; - case VEHICLE_DAEMON: - x = {0.0f, 0.06f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_DILETTANTE: - x = {0.0f, 1.59f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DLOADER: - x = {0.0f, 1.52f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DOUBLE: - x = {0.0f, 0.08f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_DUBSTA: - x = {-1.71f, 0.31f, 0.27f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DUBSTA2: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.75f; - return true; - case VEHICLE_ELEGY2: - x = {0.0f, 1.14f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_EMPEROR: - x = {0.0f, 1.31f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_EMPEROR2: - x = {0.0f, 1.31f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ENTITYXF: - x = {-1.52f, 0.41f, 0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_EXEMPLAR: - x = {0.0f, 1.32f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_F620: - x = {0.0f, 1.28f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_FAGGIO2: - x = {-1.0f, -0.48f, -0.11f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_FELON: - x = {0.0f, 1.24f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FELON2: - x = {0.0f, 1.24f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FQ2: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FUGITIVE: - x = {0.0f, 1.62f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FUSILADE: - x = {0.0f, 0.98f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_FUTO: - x = {0.0f, 1.28f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_GAUNTLET: - x = {0.0f, 1.735f, 1.05f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_GRANGER: - x = {0.0f, 2.07f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_GRESLEY: - x = {0.0f, 1.75f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_HABANERO: - x = {0.0f, 1.69f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_HEXER: - x = {0.0f, -0.46f, 1.0f}; - y = {0.0f, 1.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.14f; - return true; - case VEHICLE_HOTKNIFE: - x = {-1.43f, -0.14f, 0.18f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_INFERNUS: - x = {-1.0f, 0.33f, 0.08f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.06f}; - scale = 0.25f; - return true; - case VEHICLE_INGOT: - x = {0.0f, 1.58f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_INTRUDER: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ISSI2: - x = {0.0f, 1.21f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_JACKAL: - x = {0.0f, 1.36f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_JB700: - x = {0.0f, 1.2f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.37f; - return true; - case VEHICLE_KHAMELION: - x = {0.0f, 1.46f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.475f; - return true; - case VEHICLE_LANDSTALKER: - x = {0.0f, 1.83f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_MANANA: - x = {0.0f, 0.86f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.37f; - return true; - case VEHICLE_MESA: - x = {0.0f, 1.47f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_MESA3: - x = {0.0f, 1.47f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_MINIVAN: - x = {0.0f, 1.95f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_MONROE: - x = {0.0f, 1.23f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.43f; - return true; - case VEHICLE_NEMESIS: - x = {0.0f, 0.14f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_NINEF: - x = {0.0f, 1.7f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_NINEF2: - x = {0.0f, 1.7f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ORACLE: - x = {0.0f, 1.6f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ORACLE2: - x = {0.0f, 1.7f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PATRIOT: - x = {0.0f, 1.75f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PCJ: - x = {0.0f, 0.02f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_PENUMBRA: - x = {0.0f, 1.46f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PEYOTE: - x = {-1.0f, -0.36f, 0.2125f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PHOENIX: - x = {0.0f, 1.833f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.44f; - return true; - case VEHICLE_PICADOR: - x = {0.0f, 1.43f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.425f; - return true; - case VEHICLE_PRAIRIE: - x = {0.0f, 1.41f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.31f; - return true; - case VEHICLE_PREMIER: - x = {0.0f, 1.6f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PRIMO: - x = {0.0f, 1.62f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RADI: - x = {0.0f, 1.74f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RANCHERXL: - x = {0.0f, 1.54f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RAPIDGT: - x = {0.0f, 1.263f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RAPIDGT2: - x = {0.0f, 1.263f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RATLOADER: - x = {-1.78f, 0.52f, 0.52f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_REBEL: - x = {-1.22f, 0.6f, 0.44f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_REBEL2: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_REGINA: - x = {0.0f, 1.473f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ROCOTO: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ROMERO: - x = {0.0f, 1.83f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_RUFFIAN: - x = {0.0f, -0.02f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.19f; - return true; - case VEHICLE_RUINER: - x = {0.0f, 1.34f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SABREGT: - x = {-1.0f, 0.0f, 0.14f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.015f}; - scale = 0.35f; - return true; - case VEHICLE_SADLER: - x = {0.0f, 2.26f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SANDKING: - x = {0.0f, 2.496f, 1.55f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SANDKING2: - x = {0.0f, 2.286f, 1.55f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SCHAFTER2: - x = {0.0f, 1.56f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SCHWARZER: - x = {0.0f, 1.43f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SEMINOLE: - x = {0.0f, 1.45f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SENTINEL: - x = {0.0f, 1.18f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SENTINEL2: - x = {0.0f, 1.52f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SERRANO: - x = {0.0f, 1.68f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.49f; - return true; - case VEHICLE_STANIER: - x = {0.0f, 1.55f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_STINGER: - x = {0.0f, 1.3f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_STINGERGT: - x = {-1.0f, -0.17f, 0.12f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_STRATUM: - x = {0.0f, 1.52f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SULTAN: - x = {0.0f, 1.77f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_SUPERD: - x = {0.0f, 1.62f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SURANO: - x = {0.0f, 1.38f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SURFER: - x = {0.0f, 2.48f, 0.26f}; - y = {0.0f, -1.0f, -0.212f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.32f; - return true; - case VEHICLE_SURFER2: - x = {0.0f, 2.48f, 0.26f}; - y = {0.0f, -1.0f, -0.212f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.32f; - return true; - case VEHICLE_SURGE: - x = {0.0f, 1.69f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TAILGATER: - x = {0.0f, 1.783f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_TORNADO: - x = {-1.23f, 0.11f, -0.21f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_TORNADO2: - x = {0.0f, 1.44f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TORNADO3: - x = {0.0f, 1.44f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_VACCA: - x = {0.0f, 1.76f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_VADER: - x = {0.0f, 0.08f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_VIGERO: - x = {-1.0f, 0.11f, -0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_VOLTIC: - x = {0.0f, 1.763f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.29f; - return true; - case VEHICLE_VOODOO2: - x = {0.0f, 1.48f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_WASHINGTON: - x = {0.0f, 1.61f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_YOUGA: - x = {0.0f, 2.352f, 1.003f}; - y = {0.0f, -1.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.175f; - return true; - case VEHICLE_ZION: - x = {0.0f, 1.48f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_ZION2: - x = {0.0f, 1.48f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_ZTYPE: - x = {-0.96f, -0.69f, 0.35f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_KALAHARI: - x = {-1.0f, 0.18f, 0.1f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PARADISE: - x = {0.0f, 2.23f, 1.0f}; - y = {0.0f, -0.22f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_ALPHA: - x = {-1.0f, 0.18f, -0.05f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_HUNTLEY: - x = {0.0f, 1.52f, 0.99f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ZENTORNO: - x = {-1.24f, 0.3f, -0.07f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_JESTER: - x = {-1.0f, 0.17f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.05f}; - scale = 0.33f; - return true; - case VEHICLE_MASSACRO: - x = {0.0f, 1.37f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_TURISMOR: - x = {-1.0f, 0.3f, 0.27f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_THRUST: - x = {-1.0f, 0.405f, 0.4625f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1625f; - return true; - case VEHICLE_BTYPE: - x = {0.0f, 1.143f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.7125f; - return true; - case VEHICLE_RHAPSODY: - x = {-1.0f, -0.47f, -0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2625f; - return true; - case VEHICLE_GLENDALE: - x = {0.0f, 1.683f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.775f; - return true; - case VEHICLE_WARRENER: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.775f; - return true; - case VEHICLE_BLADE: - x = {-1.0f, 0.445f, 0.2075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.325f; - return true; - case VEHICLE_PANTO: - x = {-1.0f, 0.0f, 0.335f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DUBSTA3: - x = {-1.0f, 0.34f, 0.2975f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PIGALLE: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_COQUETTE2: - x = {-1.0f, -0.1775f, 0.195f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_INNOVATION: - x = {0.0f, 0.15f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.18f; - return true; - case VEHICLE_HAKUCHOU: - x = {0.0f, 0.27f, 0.845f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.16f; - return true; - case VEHICLE_FUROREGT: - x = {-1.0f, 0.0f, 0.2075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_RATLOADER2: - x = {-1.78f, 0.52f, 0.52f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_SLAMVAN: - x = {-1.0f, 0.275f, 0.195f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DUKES2: - x = {-1.0f, 0.0f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.375f; - return true; - case VEHICLE_DUKES: - x = {-1.0f, 0.0f, 0.0375f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3875f; - return true; - case VEHICLE_STALION: - x = {-1.0f, 0.0f, 0.0925f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4375f; - return true; - case VEHICLE_BLISTA2: - x = {-1.0f, 0.5325f, 0.245f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2875f; - return true; - case VEHICLE_CASCO: - x = {0.0f, 0.94f, 1.03f}; - y = {0.0f, -0.03f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_ENDURO: - x = {0.0f, -0.17f, 1.0f}; - y = {0.0f, 0.34f, -0.786f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_GBURRITO2: - x = {0.0f, 2.32f, 0.94f}; - y = {0.0f, -0.182f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_GUARDIAN: - x = {-1.94f, 1.07f, 0.38f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_KURUMA: - case VEHICLE_KURUMA2: - x = {-1.0f, 0.2475f, -0.175f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.435f; - return true; - case VEHICLE_LECTRO: - x = {0.0f, 0.3f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.09f; - return true; - case VEHICLE_FELTZER3: - x = {0.0f, 1.597f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_OSIRIS: - x = {-1.0f, 0.27f, -0.03f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_VIRGO: - x = {-1.05f, 0.0f, 0.075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_WINDSOR: - x = {-1.2f, -0.39f, 0.12f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.55f; - return true; - case VEHICLE_BRAWLER: - x = {-1.0f, -0.21f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_CHINO: - x = {-1.05f, 0.0f, 0.075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_COQUETTE3: - x = {-1.0f, -0.1775f, 0.195f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_T20: - x = {-1.0f, 0.4f, -0.12f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_VINDICATOR: - x = {-1.0f, 0.21f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_FACTION: - x = {-1.0f, 0.0f, 0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FACTION2: - x = {-1.0f, 0.0f, 0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BUCCANEER2: - x = {0.0f, 2.01f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.37f; - return true; - case VEHICLE_CHINO2: - x = {-1.05f, 0.0f, 0.075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_MOONBEAM: - x = {0.0f, 1.713f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_MOONBEAM2: - x = {0.0f, 1.713f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_PRIMO2: - x = {-1.0f, 0.42f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_VOODOO: - x = {-1.12f, 0.0f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FACTION3: - x = {-1.0f, 0.0f, 0.5f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SABREGT2: - x = {-1.0f, 0.0f, 0.14f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.015f}; - scale = 0.35f; - return true; - case VEHICLE_TORNADO5: - x = {-1.0f, 0.15f, -0.09f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_VIRGO2: - x = {-1.0f, 0.0f, 0.1225f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.375f; - return true; - case VEHICLE_VIRGO3: - x = {-1.0f, 0.0f, 0.1225f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.375f; - return true; - case VEHICLE_MINIVAN2: - x = {0.0f, 1.95f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_SLAMVAN3: - x = {-1.0f, 0.275f, 0.195f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BTYPE2: - x = {-1.0f, -0.1f, 0.4f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_LURCHER: - x = {-1.0f, 0.0f, 0.3f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_BALLER3: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BALLER4: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BALLER5: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BALLER6: - x = {0.0f, 1.4f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_COG55: - x = {-1.0f, 0.37f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_COG552: - x = {-1.0f, 0.37f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_COGNOSCENTI: - x = {-1.0f, 0.37f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_COGNOSCENTI2: - x = {-1.0f, 0.37f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_MAMBA: - x = {-1.0f, -0.18f, 0.21f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_NIGHTSHADE: - x = {-1.0f, -0.2f, 0.17f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_SCHAFTER3: - x = {0.0f, 1.56f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SCHAFTER4: - x = {0.0f, 1.56f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SCHAFTER5: - x = {0.0f, 1.56f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SCHAFTER6: - x = {0.0f, 1.56f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_VERLIERER2: - x = {-1.0f, -0.21f, 0.03f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_TAMPA: - x = {-1.0f, 0.0f, 0.12f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_BANSHEE2: - x = {-1.0f, -0.4f, 0.075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SULTANRS: - x = {0.0f, 1.77f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_BTYPE3: - x = {-1.0f, -0.1f, 0.4f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_BESTIAGTS: - x = {-1.0f, -0.06f, 0.4f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SEVEN70: - x = {-1.0f, -0.21f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FMJ: - x = {-1.0f, -0.06f, 0.21f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_PFISTER811: - x = {-1.0f, 0.06f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_PROTOTIPO: - x = {-1.0f, 0.3f, 0.27f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_REAPER: - x = {-1.0f, 0.48f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_RUMPO3: - x = {0.0f, 2.103f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_WINDSOR2: - x = {-1.2f, 0.03f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.55f; - return true; - case VEHICLE_XLS: - x = {-1.0f, 0.36f, -0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_XLS2: - x = {-1.0f, 0.36f, -0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_BRIOSO: - x = {-1.0f, -0.06f, 0.565f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_CONTENDER: - x = {0.0f, 2.33f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_LE7B: - x = {-1.0f, -0.12f, 0.235f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_OMNIS: - x = {-1.0f, 0.03f, 0.18f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_TROPOS: - x = {-1.0f, 0.0f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_AVARUS: - x = {-1.0f, 0.27f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_DAEMON2: - x = {-1.0f, 0.27f, 0.29f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_DEFILER: - x = {-1.0f, 0.0f, 0.34f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.125f; - return true; - case VEHICLE_ESSKEY: - x = {-1.0f, 0.335f, 0.31f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.09f; - return true; - case VEHICLE_HAKUCHOU2: - x = {0.0f, 0.27f, 0.845f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_NIGHTBLADE: - x = {0.0f, -0.133f, 0.61f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.125f; - return true; - case VEHICLE_RATBIKE: - x = {-1.0f, 0.31f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_SHOTARO: - x = {-1.0f, 0.06f, 0.325f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_ZOMBIEA: - x = {-1.0f, 0.3f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_ZOMBIEB: - x = {-1.0f, 0.2f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_VORTEX: - x = {-1.0f, 0.18f, 0.37f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.095f; - return true; - case VEHICLE_TORNADO6: - x = {-1.0f, -0.03f, -0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_YOUGA2: - x = {0.0f, 2.352f, 0.253f}; - y = {0.0f, -1.0f, -0.256f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.175f; - return true; - case VEHICLE_WOLFSBANE: - x = {-1.0f, 0.33f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_FAGGIO3: - x = {-1.0f, -0.54f, -0.11f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_FAGGIO: - x = {-0.9875f, -0.0175f, -0.01f}; - y = {0.8975f, -0.26f, -0.0725f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1625f; - return true; - case VEHICLE_COMET3: - x = {-1.0f, 0.0f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_DIABLOUS: - x = {-1.0f, 0.006f, 0.382f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_DIABLOUS2: - x = {-1.0f, 0.225f, 0.541f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_ELEGY: - x = {0.0f, 1.14f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FCR: - x = {-1.0f, 0.234f, 0.376f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_FCR2: - x = {-1.0f, 0.234f, 0.376f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_ITALIGTB: - x = {-1.0f, -0.024f, 0.187f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_ITALIGTB2: - x = {-1.0f, -0.024f, 0.187f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_NERO: - x = {-1.0f, 0.237f, 0.09f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_NERO2: - x = {-1.0f, 0.237f, 0.09f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_PENETRATOR: - x = {-1.0f, 0.153f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_RUINER2: - x = {0.363f, 1.34f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_RUINER3: - x = {0.363f, 1.34f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SPECTER: - x = {-1.0f, -0.273f, -0.02f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_SPECTER2: - x = {-1.0f, -0.273f, 0.286f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_TECHNICAL2: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TEMPESTA: - x = {-1.0f, 0.0f, 0.253f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_VOLTIC2: - x = {0.0f, 1.763f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.29f; - return true; - case VEHICLE_INFERNUS2: - x = {-1.0f, 0.33f, 0.06f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.06f}; - scale = 0.2f; - return true; - case VEHICLE_RUSTON: - x = {-1.0f, -0.273f, 0.084f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_TURISMO2: - x = {-1.0f, 0.159f, -0.193f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_ARDENT: - x = {-1.0f, 0.309f, 0.276f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_CHEETAH2: - x = {-1.0f, 0.159f, -0.127f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_HALFTRACK: - x = {-1.0f, 0.501f, 0.531f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_NIGHTSHARK: - x = {-1.5f, 0.42f, 0.584f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_OPPRESSOR: - x = {-1.0f, 0.306f, 0.355f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.08f; - return true; - case VEHICLE_TAMPA3: - x = {0.0f, 1.515f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.275f; - return true; - case VEHICLE_TECHNICAL3: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.43f; - return true; - case VEHICLE_TORERO: - x = {-1.0f, 0.201f, 0.114f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_VAGNER: - x = {-1.5f, 0.906f, 0.071f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_XA21: - x = {-1.0f, 0.441f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_PHANTOM3: - x = {-1.3f, 2.045f, 0.802f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_HAULER2: - x = {-1.627f, 2.456f, 0.745f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_CYCLONE: - x = {-1.0f, 0.186f, 0.382f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_VISIONE: - x = {-1.0f, 0.432f, 0.031f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_VIGILANTE: - x = {-1.0f, 0.232f, 0.24f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.175f; - return true; - case VEHICLE_RETINUE: - x = {-1.0f, -0.018f, 0.253f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_RAPIDGT3: - x = {0.0f, 1.972f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.18f; - return true; - case VEHICLE_AVENGER: - case VEHICLE_AVENGER3: - x = {-2.02f, 6.45f, -0.716f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DELUXO: - x = {-1.0f, -0.291f, 0.247f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_STROMBERG: - x = {-1.0f, 0.23f, 0.247f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_RIOT2: - x = {-1.891f, 2.144f, 0.657f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_CHERNOBOG: - x = {-2.127f, 5.413f, 1.132f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.34f; - return true; - case VEHICLE_KHANJALI: - x = {-0.897f, 1.391f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_BARRAGE: - x = {-1.51f, 0.71f, 0.451f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_COMET4: - x = {-1.0f, 0.298f, 0.257f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.36f; - return true; - case VEHICLE_NEON: - x = {-1.0f, 0.181f, -0.066f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_STREITER: - x = {-1.0f, 0.301f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SENTINEL3: - x = {0.0f, 1.52f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_YOSEMITE: - x = {-1.0f, 0.252f, 0.201f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_SC1: - x = {-1.0f, 0.616f, -0.131f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_AUTARCH: - x = {-1.0f, 0.0f, 0.116f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_GT500: - x = {-1.0f, 0.0f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_HUSTLER: - x = {-1.0f, -0.228f, 0.321f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_REVOLTER: - x = {-1.0f, 0.203f, 0.126f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_PARIAH: - x = {-1.0f, -0.126f, 0.208f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_RAIDEN: - x = {-1.0f, 0.252f, -0.095f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_SAVESTRA: - x = {-1.0f, 0.0f, 0.25f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_RIATA: - x = {-1.3f, 0.18f, 0.511f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_HERMES: - x = {-1.0f, -0.134f, 0.158f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_COMET5: - x = {-1.0f, 0.002f, 0.031f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_Z190: - x = {-1.0f, -0.175f, 0.242f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_VISERIS: - x = {-1.0f, 0.0f, 0.244f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.275f; - return true; - case VEHICLE_KAMACHO: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_GB200: - x = {-1.0f, 0.0f, 0.407f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.225f; - return true; - case VEHICLE_FAGALOA: - x = {-1.0f, 0.0f, 0.225f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ELLIE: - x = {-1.0f, 0.441f, -0.128f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_ISSI3: - x = {-1.0f, 0.195f, 0.246f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_MICHELLI: - x = {-1.0f, 0.0f, 0.0805f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FLASHGT: - x = {0.0f, 1.592f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_HOTRING: - x = {-1.0f, 0.0f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TEZERACT: - x = {-1.0f, 0.679f, 0.514f}; - y = {1.0f, 0.0f, -0.75f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.175f; - return true; - case VEHICLE_TYRANT: - x = {-1.588f, 0.315f, 0.337f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_DOMINATOR3: - x = {-1.0f, 0.0f, 0.221f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TAIPAN: - x = {-1.0f, 0.0f, 0.219f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ENTITY2: - x = {-1.52f, 0.41f, 0.15f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_JESTER3: - x = {-1.0f, 0.0f, 0.297f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_CHEBUREK: - x = {-1.0f, 0.393f, 0.162f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.375f; - return true; - case VEHICLE_CARACARA: - x = {-1.0f, 1.266f, 0.4115f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SPEEDO4: - x = {-1.5f, 0.833f, 0.391f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_MULE4: - x = {-1.125f, 2.691f, 0.318f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_POUNDER2: - x = {-1.5f, 1.853f, 0.779f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.38f; - return true; - case VEHICLE_SWINGER: - x = {-1.0f, 0.195f, 0.105f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_MENACER: - x = {-1.73f, 0.159f, 0.61f}; - y = {1.0f, 0.12f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SCRAMJET: - x = {-1.0f, -0.188f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_PATRIOT2: - x = {-1.213f, 1.546f, 0.511f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_STAFFORD: - x = {-1.0f, 0.036f, 0.096f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_FREECRAWLER: - x = {-1.0f, 0.249f, 0.511f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_OPPRESSOR2: - x = {-1.0f, 0.306f, 0.355f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.08f; - return true; - case VEHICLE_TERBYTE: - x = {-1.73f, 3.397f, 0.724f}; - y = {1.0f, 0.12f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_BRUISER: - case VEHICLE_BRUISER2: - case VEHICLE_BRUISER3: - x = {0.0f, 2.12f, 1.241f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.084f}; - scale = 0.775f; - return true; - case VEHICLE_BRUTUS: - case VEHICLE_BRUTUS2: - case VEHICLE_BRUTUS3: - x = {-1.0f, 0.446f, 0.247f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_CERBERUS: - case VEHICLE_CERBERUS2: - case VEHICLE_CERBERUS3: - x = {-1.432f, 1.443f, 1.292f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_CLIQUE: - x = {-1.0f, 0.167f, 0.159f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_DEVESTE: - x = {-1.5f, 1.066f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_DEVIANT: - x = {-1.0f, 0.111f, 0.123f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_DOMINATOR4: - case VEHICLE_DOMINATOR5: - case VEHICLE_DOMINATOR6: - x = {-1.0f, 0.0f, 0.417f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_IMPALER: - case VEHICLE_IMPALER2: - case VEHICLE_IMPALER3: - case VEHICLE_IMPALER4: - x = {-1.0f, 0.0f, 0.137f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_IMPERATOR: - case VEHICLE_IMPERATOR2: - case VEHICLE_IMPERATOR3: - x = {-1.0f, 0.0f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ISSI4: - case VEHICLE_ISSI5: - case VEHICLE_ISSI6: - x = {-1.0f, 0.195f, 0.246f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ITALIGTO: - x = {-1.0f, -0.091f, 0.207f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_MONSTER3: - case VEHICLE_MONSTER4: - case VEHICLE_MONSTER5: - x = {-1.78f, 0.445f, 0.81f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_SCHLAGEN: - x = {-1.0f, -0.105f, 0.262f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SLAMVAN4: - case VEHICLE_SLAMVAN5: - case VEHICLE_SLAMVAN6: - x = {-1.0f, 0.152f, 0.537f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_TOROS: - x = {-1.0f, 0.415f, 0.394f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_TULIP: - x = {-1.0f, 0.171f, 0.223f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_VAMOS: - x = {-1.0f, 0.0f, 0.163f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ZR380: - case VEHICLE_ZR3802: - case VEHICLE_ZR3803: - x = {-1.0f, 0.0f, 0.286f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_CARACARA2: - x = {-1.0f, 0.687f, 0.4115f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_DRAFTER: - x = {-1.045f, 0.15f, 0.09f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_DYNASTY: - x = {-1.0f, 0.12f, 0.334f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_EMERUS: - x = {-1.0f, 0.372f, 0.439f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_GAUNTLET3: - x = {-1.0f, 0.0f, 0.222f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_GAUNTLET4: - x = {-1.0f, 0.0f, 0.222f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_HELLION: - x = {-1.0f, 0.27f, 0.246f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_ISSI7: - x = {-1.0f, 0.195f, -0.063f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_JUGULAR: - x = {-1.0f, 0.213f, 0.213f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_KRIEGER: - x = {-1.0f, 0.576f, -0.123f}; - y = {0.997f, -0.105f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_LOCUST: - x = {-1.0f, -0.207f, 0.042f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_NEBULA: - x = {-1.0f, 0.012f, 0.147f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_NEO: - x = {-1.0f, 0.216f, 0.216f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_NOVAK: - x = {-1.0f, 0.24f, 0.255f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_PARAGON: - case VEHICLE_PARAGON2: - x = {-1.0f, 0.0f, 0.156f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_PEYOTE2: - x = {-1.0f, -0.36f, 0.2125f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_S80: - x = {-1.0f, 0.357f, 0.256f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.2f; - return true; - case VEHICLE_THRAX: - x = {-1.0f, 0.426f, 0.339f}; - y = {1.0f, 0.06f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_ZION3: - x = {-1.0f, 0.108f, 0.234f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_ZORRUSSO: - x = {-1.0f, 0.273f, -0.06f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_SLAMVAN2: - x = {-1.0f, 0.35f, 0.456f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_REBLA: - x = {0.0f, 1.9002f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_ASBO: - x = {-1.0f, 0.104f, 0.339f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_SUGOI: - x = {-1.0f, 0.104f, 0.223f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_KOMODA: - x = {-1.0f, 0.104f, 0.155f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_VSTR: - x = {-1.0f, 0.104f, 0.155f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SULTAN2: - x = {-1.0f, 0.313f, 0.16f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_KANJO: - x = {-1.0f, 0.313f, 0.16f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_JB7002: - x = {0.0f, 1.2f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.37f; - return true; - case VEHICLE_YOSEMITE2: - x = {-1.0f, 0.252f, 0.201f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_RETINUE2: - x = {-1.0f, -0.018f, 0.253f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_FURIA: - x = {-1.0f, 0.0965f, 0.149f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_EVERON: - x = {0.0f, 2.019f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_IMORGON: - x = {-1.5f, 0.42f, -0.2f}; - y = {1.0f, -0.0997f, 0.0415f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_ZHABA: - x = {-1.202f, 0.034f, 0.6635f}; - y = {1.0f, -0.002f, 0.0f}; - z = {0.0f, -0.7398f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_GAUNTLET5: - x = {-1.5f, 0.379f, 0.297f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.24f; - return true; - case VEHICLE_DUKES3: - x = {-1.0f, 0.0f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.375f; - return true; - case VEHICLE_MANANA2: - x = {-1.76f, 0.105f, 0.009f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.22f; - return true; - case VEHICLE_CLUB: - x = {0.0f, 1.252f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.31f; - return true; - case VEHICLE_GLENDALE2: - x = {0.0f, 2.135f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.205f; - return true; - case VEHICLE_YOUGA3: - x = {0.0f, 2.352f, 0.3f}; - y = {0.0f, -1.0f, -0.256f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.135f; - return true; - case VEHICLE_YOSEMITE3: - x = {-1.0f, 0.252f, 0.203f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.21f; - return true; - case VEHICLE_SEMINOLE2: - x = {0.0f, 1.654f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_PENUMBRA2: - x = {-1.08f, 0.28f, -0.093f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_LANDSTALKER2: - x = {-1.64f, 0.7f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_COQUETTE4: - x = {-1.0f, -0.021f, 0.273f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_TIGON: - x = {-1.0f, 0.156f, 0.099f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_PEYOTE3: - x = {-1.5f, -0.36f, 0.2125f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_BRIOSO2: - x = {-1.0f, 0.275f, 0.215f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_SLAMTRUCK: - x = {-1.0f, 1.454f, 0.485f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_ITALIRSX: - x = {-1.0f, 0.109f, 0.129f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_TOREADOR: - x = {-1.0f, 0.194f, 0.342f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.15f; - return true; - case VEHICLE_WEEVIL: - x = {-1.0f, 0.111f, 0.168f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_ZR350: - x = {0.0f, 1.632f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.19f; - return true; - case VEHICLE_CALICO: - x = {-1.0f, 0.497f, 0.212f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_JESTER4: - x = {-1.0f, 0.0f, 0.181f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_COMET6: - x = {-1.0f, 0.205f, 0.074f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_WARRENER2: - x = {-1.0f, 0.408f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_REMUS: - x = {-1.0f, 0.204f, 0.357f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_VECTRE: - x = {-1.0f, 0.249f, 0.164f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DOMINATOR7: - x = {-1.0f, 0.253f, 0.142f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_CYPHER: - x = {-1.0f, 0.223f, 0.185f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_RT3000: - x = {-1.0f, 0.0f, 0.189f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_SULTAN3: - x = {-1.0f, 0.42f, 0.309f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.23f; - return true; - case VEHICLE_TAILGATER2: - x = {-1.0f, 0.337f, 0.283f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_PREVION: - x = {-1.0f, 0.14f, -0.155f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DOMINATOR8: - x = {-1.0f, 0.153f, -0.006f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_FUTO2: - x = {-1.0f, 0.318f, -0.013f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_EUROS: - x = {-1.0f, 0.101f, 0.187f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_GROWLER: - x = {-1.0f, 0.151f, 0.149f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_CINQUEMILA: - x = {-1.0f, 0.533f, 0.197f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_CHAMPION: - x = {-1.0f, 0.076f, 0.122f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_GRANGER2: - x = {-1.0f, 0.461f, 0.264f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DEITY: - x = {-1.0f, 0.279f, 0.235f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_BUFFALO4: - x = {-1.0f, 0.251f, 0.149f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_BALLER7: - x = {-1.194f, 0.182f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_ZENO: - x = {-1.194f, 0.409f, 0.199f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.22f; - return true; - case VEHICLE_COMET7: - x = {-1.0f, 0.05f, 0.187f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_ASTRON: - x = {-1.0f, 0.249f, 0.39f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_PATRIOT3: - x = {-1.2f, 0.474f, 0.335f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.23f; - return true; - case VEHICLE_JUBILEE: - x = {-1.037f, 0.438f, 0.31f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_SHINOBI: - x = {0.0f, 0.306f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.045f; - return true; - case VEHICLE_REEVER: - x = {-1.0f, 0.292f, 0.29f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_IWAGEN: - x = {-1.0f, 0.387f, 0.209f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_BRIOSO3: - x = {-1.0f, 0.15f, 0.2f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_CORSITA: - x = {-1.0f, 0.1f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_GREENWOOD: - x = {-1.0f, 0.2f, 0.138f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_KANJOSJ: - x = {-1.0f, 0.1f, 0.26f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_POSTLUDE: - x = {-1.0f, 0.0f, 0.28f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_RHINEHART: - x = {0.0f, 1.317f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.33f; - return true; - case VEHICLE_TENF: - x = {-1.0f, 0.74f, 0.19f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_TENF2: - x = {-1.0f, 0.74f, 0.19f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_TORERO2: - x = {-1.0f, 0.0f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_VIGERO2: - x = {-1.0f, -0.07f, 0.3f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_WEEVIL2: - x = {-1.0f, 0.07f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.45f; - return true; - case VEHICLE_DRAUGUR: - x = {-1.0f, 0.5f, 0.48f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_RUINER4: - x = {-1.0f, 0.5f, 0.182f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_SENTINEL4: - x = {-1.0f, 0.147f, 0.239f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_SM722: - x = {-1.0f, -0.4f, 0.18f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_OMNISEGT: - x = {0.0f, 1.462f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.29f; - return true; - case VEHICLE_POWERSURGE: - x = {-1.0f, 0.3f, 0.37f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_ENTITY3: - x = {-1.0f, 0.5f, 0.225f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_MANCHEZ3: - x = {-1.0f, 0.066f, 0.329f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.1f; - return true; - case VEHICLE_SURFER3: - x = {-1.0f, 1.19f, 0.18f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_BOOR: - x = {-1.0f, 0.25f, 0.4f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.4f; - return true; - case VEHICLE_ENDORA: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.7f; - return true; - case VEHICLE_TULIP2: - x = {-1.0f, 0.0f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_R300: - x = {-1.0f, 0.0f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_VIRTUE: - x = {-1.0f, 0.0f, 0.22f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_ISSI8: - x = {-1.0f, 0.3f, 0.0f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_BROADWAY: - x = {-1.0f, -0.4f, 0.375f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_PANTHERE: - x = {-1.0f, 0.069f, 0.13f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_TAHOMA: - x = {-1.0f, -0.253f, 0.39f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_EVERON2: - x = {-1.0f, 0.101f, 0.227f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.6f; - return true; - case VEHICLE_L35: - x = {-1.0f, 0.2f, 0.43f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_BRIGHAM: - x = {-0.003f, 2.764f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_GAUNTLET6: - x = {-1.5f, 0.4f, 0.1f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.24f; - return true; - case VEHICLE_STINGERTT: - x = {0.0f, 1.623f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.25f; - return true; - case VEHICLE_BUFFALO5: - x = {0.0f, 1.5f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_RATEL: - x = {-1.0f, 0.128f, 0.212f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.42f; - return true; - case VEHICLE_CLIQUE2: - x = {-1.0f, 0.088f, 0.438f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.28f; - return true; - case VEHICLE_COUREUR: - x = {-1.0f, 0.0f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_MONSTROCITI: - x = {-1.0f, 0.0f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_DRIFTFR36: - x = {-1.0f, 0.1f, 0.026f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.44f; - return true; - case VEHICLE_DRIFTYOSEMITE: - x = {-1.0f, 0.252f, 0.201f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.3f; - return true; - case VEHICLE_DRIFTREMUS: - x = {-1.0f, 0.204f, 0.357f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DRIFTEUROS: - x = {-1.0f, 0.101f, 0.187f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DRIFTFUTO: - x = {-1.0f, 0.318f, -0.013f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DRIFTJESTER: - x = {-1.0f, 0.0f, 0.181f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DRIFTZR350: - x = {0.0f, 1.632f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.19f; - return true; - case VEHICLE_ALEUTIAN: - x = {0.0f, 2.1f, 1.0f}; - y = {0.0f, 0.0f, -1.0f}; - z = {-1.0f, 0.0f, 0.0f}; - scale = 0.35f; - return true; - case VEHICLE_DOMINATOR9: - x = {-1.0f, 0.0f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_FR36: - x = {-1.0f, 0.1f, 0.026f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.44f; - return true; - case VEHICLE_CAVALCADE3: - x = {-1.6f, 0.585f, 0.3f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_IMPALER5: - x = {-1.0f, 0.16f, 0.295f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.43f; - return true; - case VEHICLE_ASTEROPE2: - x = {-1.0f, 0.15f, 0.075f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.46f; - return true; - case VEHICLE_DORADO: - x = {-1.0f, 0.229f, 0.37f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.36f; - return true; - case VEHICLE_IMPALER6: - x = {-1.0f, 0.216f, 0.124f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.41f; - return true; - case VEHICLE_VIVANITE: - x = {-1.0f, 0.475f, 0.05f}; - y = {1.0f, 0.0f, 0.0f}; - z = {0.0f, -1.0f, 0.0f}; - scale = 0.5f; - return true; - case VEHICLE_VORSCHLAGHAMMER: - case VEHICLE_DRIFTVORSCHLAG: - x = {0.f, 1.141f, 1.f}; - y = {0.f, 0.f, -1.f}; - z = {-1.f, 0.f, 0.f}; - scale = 0.25f; - return true; - case VEHICLE_POLIMPALER5: - x = {-1.f, 0.16f, 0.295f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.43f; - return true; - case VEHICLE_CASTIGATOR: - x = {-1.f, 0.315f, 0.1587f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.0455f}; - scale = 0.4f; - return true; - case VEHICLE_POLIMPALER6: - x = {-1.f, 0.216f, 0.124f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.41f; - return true; - case VEHICLE_PIPISTRELLO: - x = {-1.f, -0.0897f, 0.f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.2375f; - return true; - case VEHICLE_ENVISAGE: - x = {-1.f, 0.f, 0.2702f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.43f; - return true; - case VEHICLE_DOMINATOR10: - x = {-1.f, 0.f, 0.0653f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.5f; - return true; - case VEHICLE_YOSEMITE1500: - x = {-1.229f, 0.6f, 0.361f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.3f; - return true; - case VEHICLE_EUROSX32: - x = {0.f, 1.71f, 1.f}; - y = {0.f, 0.f, -1.f}; - z = {-1.f, 0.f, 0.f}; - scale = 0.3f; - return true; - case VEHICLE_NIOBE: - x = {-1.f, 0.175f, 0.22f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.35f; - return true; - case VEHICLE_COQUETTE5: - x = {-1.f, 0.f, 0.075f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.5f; - return true; - case VEHICLE_PARAGON3: - x = {-1.f, 0.f, 0.175f}; - y = {1.f, 0.f, 0.f}; - z = {0.f, -1.f, 0.f}; - scale = 0.5f; - return true; - case VEHICLE_PIZZABOY: - x = {0.f, 1.0569f, 1.f}; - y = {0.f, -0.5995f, -1.f}; - z = {-0.4071f, 0.f, 0.f}; - scale = 0.2f; - return true; - default: return false; - } -} diff --git a/src/hooks/protections/script_event_handler.cpp b/src/hooks/protections/script_event_handler.cpp index a1d3c144..588198c4 100644 --- a/src/hooks/protections/script_event_handler.cpp +++ b/src/hooks/protections/script_event_handler.cpp @@ -9,8 +9,6 @@ #include #include