Logo
Explore Help
Sign In
ModdingRX/TmpMenu
1
0
Fork 0
You've already forked TmpMenu
mirror of https://github.com/Mr-X-GTA/YimMenu.git synced 2025-06-19 07:28:04 +08:00
Code Issues Actions 1 Packages Projects Releases Wiki Activity
TmpMenu/BigBaseV2/src/util/water.hpp

17 lines
336 B
C++
Raw Normal View History

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 22:42:07 +08:00
#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;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 46ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API