mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-15 22:08:00 +08:00
Update mobile.hpp to 1.70
This commit is contained in:
parent
fe0b2f9c69
commit
fb84a4b7ed
@ -31,27 +31,27 @@ namespace big::mobile
|
||||
{
|
||||
inline void request_ammo_drop()
|
||||
{
|
||||
*scr_globals::freemode_global.at(906).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(917).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_boat_pickup()
|
||||
{
|
||||
*scr_globals::freemode_global.at(907).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(918).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_helicopter_pickup()
|
||||
{
|
||||
*scr_globals::freemode_global.at(908).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(919).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_backup_helicopter()
|
||||
{
|
||||
*scr_globals::freemode_global.at(4506).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(4522).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_airstrike()
|
||||
{
|
||||
*scr_globals::freemode_global.at(4507).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(4523).as<int*>() = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,12 +90,12 @@ namespace big::mobile
|
||||
{
|
||||
inline void request_bullshark_testosterone()
|
||||
{
|
||||
*scr_globals::freemode_properties.at(3733).as<int*>() = 1;
|
||||
*scr_globals::freemode_properties.at(3766).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_ballistic_armor() //i think this is a ceo ability atleast?
|
||||
{
|
||||
*scr_globals::freemode_global.at(906).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(932).as<int*>() = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -103,32 +103,32 @@ namespace big::mobile
|
||||
{
|
||||
inline void request_avenger()
|
||||
{
|
||||
*scr_globals::freemode_global.at(953).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(964).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_kosatka()
|
||||
{
|
||||
*scr_globals::freemode_global.at(975).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(991).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_mobile_operations_center()
|
||||
{
|
||||
*scr_globals::freemode_global.at(945).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(956).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_terrorbyte()
|
||||
{
|
||||
*scr_globals::freemode_global.at(958).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(969).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_acidlab()
|
||||
{
|
||||
*scr_globals::freemode_global.at(959).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(970).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_acidlab_bike()
|
||||
{
|
||||
*scr_globals::freemode_global.at(1009).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(1025).as<int*>() = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@ -152,7 +152,7 @@ namespace big::mobile
|
||||
|
||||
inline void summon_vehicle_by_index(int veh_idx)
|
||||
{
|
||||
if (*scr_globals::freemode_global.at(1000).as<int*>() != -1)
|
||||
if (*scr_globals::freemode_global.at(1016).as<int*>() != -1)
|
||||
return g_notification_service.push_warning("VEHICLE"_T.data(), "VEHICLE_MECHANIC_BUSY"_T.data());
|
||||
|
||||
if (g.clone_pv.spawn_inside && self::veh)
|
||||
@ -169,9 +169,9 @@ namespace big::mobile
|
||||
{
|
||||
*scr_globals::freemode_global.at(957).as<int*>() = 1; // disable vehicle node distance check
|
||||
}
|
||||
*scr_globals::freemode_global.at(943).as<int*>() = 1; // tell freemode to spawn our vehicle
|
||||
*scr_globals::freemode_global.at(1003).as<int*>() = 0; // required
|
||||
*scr_globals::freemode_global.at(1000).as<int*>() = veh_idx;
|
||||
*scr_globals::freemode_global.at(954).as<int*>() = 1; // tell freemode to spawn our vehicle
|
||||
*scr_globals::freemode_global.at(1019).as<int*>() = 0; // required
|
||||
*scr_globals::freemode_global.at(1016).as<int*>() = veh_idx;
|
||||
|
||||
script::get_current()->yield(100ms);
|
||||
|
||||
@ -186,7 +186,7 @@ namespace big::mobile
|
||||
}
|
||||
|
||||
// blocking call till vehicle is delivered
|
||||
notify::busy_spinner("Delivering vehicle...", scr_globals::freemode_global.at(1000).as<int*>(), -1);
|
||||
notify::busy_spinner("Delivering vehicle...", scr_globals::freemode_global.at(1016).as<int*>(), -1);
|
||||
|
||||
if (g.clone_pv.spawn_inside)
|
||||
{
|
||||
@ -199,7 +199,7 @@ namespace big::mobile
|
||||
{
|
||||
inline void request_taxi()
|
||||
{
|
||||
*scr_globals::freemode_global.at(868).as<int*>() = 1;
|
||||
*scr_globals::freemode_global.at(879).as<int*>() = 1;
|
||||
}
|
||||
|
||||
inline void request_gun_van()
|
||||
|
Loading…
x
Reference in New Issue
Block a user