This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
aa15032261 15ef1b874d
Added proofs to vehicle menu and improved waterproof feature. (#330)
- Added proofs section to vehicle menu that allows player to control damage bits. 
- Player can now drive or walk underwater with waterproof turned on.
- Added bring closest vehicle feature.
- Vehicle will not deform with collision proof on.
- Improved vehicle menu arrangement.
- Added plate changer in LSC.
- Updated LSC layout.
- Expanded wheel type feature.
- Fixed a bug where the mod section shows repetitive wheel mods.

Fixed issue #331
2022-07-12 16:42:07 +02:00

17 lines
336 B
C++

#pragma once
namespace big::water
{
inline float* get_water_collision_ptr(CNavigation* nav)
{
auto nav_addr = (uint64_t)nav;
return (float*)(*(uint64_t*)(nav_addr + 0x10) + 0x54);
}
inline void reset_ped_oxygen_time(CPed* ped)
{
auto ped_addr = (uint64_t)ped;
*(float*)(*(uint64_t*)(ped_addr + 0x10C0) + 0x278) = 0;
}
}