
- 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
17 lines
336 B
C++
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;
|
|
}
|
|
}
|