mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-09 18:58:58 +08:00
feat(Vehicle): Added despawn bypass
This commit is contained in:
parent
e0e6840d28
commit
b31b472fed
@ -70,6 +70,7 @@ namespace big
|
|||||||
|
|
||||||
QUEUE_JOB_BEGIN_CLAUSE()
|
QUEUE_JOB_BEGIN_CLAUSE()
|
||||||
{
|
{
|
||||||
|
looped::vehicle_despawn_bypass();
|
||||||
looped::vehicle_god_mode();
|
looped::vehicle_god_mode();
|
||||||
looped::vehicle_horn_boost();
|
looped::vehicle_horn_boost();
|
||||||
looped::vehicle_speedo_meter();
|
looped::vehicle_speedo_meter();
|
||||||
|
@ -26,15 +26,16 @@ namespace big
|
|||||||
static void system_update_pointers();
|
static void system_update_pointers();
|
||||||
static void system_screen_size();
|
static void system_screen_size();
|
||||||
|
|
||||||
|
static void vehicle_despawn_bypass();
|
||||||
|
static void vehicle_god_mode();
|
||||||
|
static void vehicle_horn_boost();
|
||||||
|
static void vehicle_speedo_meter();
|
||||||
|
|
||||||
static void weapons_cage_gun();
|
static void weapons_cage_gun();
|
||||||
static void weapons_delete_gun();
|
static void weapons_delete_gun();
|
||||||
static void weapons_gravity_gun();
|
static void weapons_gravity_gun();
|
||||||
static void weapons_repair_gun();
|
static void weapons_repair_gun();
|
||||||
static void weapons_steal_vehicle_gun();
|
static void weapons_steal_vehicle_gun();
|
||||||
static void weapons_vehicle_gun();
|
static void weapons_vehicle_gun();
|
||||||
|
|
||||||
static void vehicle_god_mode();
|
|
||||||
static void vehicle_horn_boost();
|
|
||||||
static void vehicle_speedo_meter();
|
|
||||||
};
|
};
|
||||||
}
|
}
|
11
BigBaseV2/src/backend/looped/vehicle/despawn_bypass.cpp
Normal file
11
BigBaseV2/src/backend/looped/vehicle/despawn_bypass.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include "backend/looped/looped.hpp"
|
||||||
|
#include "script_global.hpp"
|
||||||
|
|
||||||
|
namespace big
|
||||||
|
{
|
||||||
|
// allows for spawning unreleased vehicles in online and online vehicles in single player
|
||||||
|
void looped::vehicle_despawn_bypass()
|
||||||
|
{
|
||||||
|
*script_global(4533757).as<bool*>() = true;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user