mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-10 11:53:07 +08:00
Refactored Allow All Vehicles (#2604)
* Refactored Allow All Vehicles to use the current seat the ped is in to fetch the animation info that the car is currently using. * Update gtav-classes tag hash. * Removed GROUP_SMG from the allow all weapons false scenario.
This commit is contained in:
+4
-4
@@ -1742,13 +1742,13 @@ namespace big
|
||||
g_pointers->m_gta.m_nullsub = ptr.as<void(*)()>();
|
||||
}
|
||||
},
|
||||
// Get Ped Bone
|
||||
// Get Ped Seat
|
||||
{
|
||||
"GPB",
|
||||
"48 89 5C 24 ?? 48 89 6C 24 ?? 48 89 74 24 ?? 57 48 83 EC 60 48 8B 01 41 8B E8 48 8B F2",
|
||||
"GPS",
|
||||
"E8 ? ? ? ? 48 85 DB 74 66",
|
||||
[](memory::handle ptr)
|
||||
{
|
||||
g_pointers->m_gta.m_get_ped_bone = ptr.as<functions::get_ped_bone>();
|
||||
g_pointers->m_gta.m_get_ped_seat = ptr.add(1).rip().as<functions::get_ped_seat>();
|
||||
}
|
||||
}
|
||||
>(); // don't leave a trailing comma at the end
|
||||
|
||||
Reference in New Issue
Block a user