Menu revamp (#3274)

* Complete player and network UI redesign, meant to show all features instead of stuffing them into tiny boxes
* Added option to delete player vehicles
* Better clone player (now clones head blend too)
* Better host token spoofing, with an option to enter your own
* Better host token spoofing detection
* Better desync kick prot detections
* A script blocker for the entire session (per-player options will be added later)
* Added option to spoof data/DLC hashes
* Logging framework that allows developers to easily debug false positives
* Major protection improvements
This commit is contained in:
maybegreat48
2024-06-27 08:32:17 +00:00
committed by GitHub
parent f3cf7b5983
commit 4589b87553
98 changed files with 3157 additions and 2042 deletions

View File

@ -27,7 +27,8 @@ namespace big
player_icons += FONT_ICON_HOST;
if (plyr->is_friend())
player_icons += FONT_ICON_FRIEND;
if (const auto ped = plyr->get_ped(); (ped != nullptr && ped->m_ped_task_flag & (uint8_t)ePedTask::TASK_DRIVING))
if (const auto ped = plyr->get_ped(); (ped != nullptr
&& (ped->m_ped_task_flag & (uint8_t)ePedTask::TASK_DRIVING || PLAYER::IS_REMOTE_PLAYER_IN_NON_CLONED_VEHICLE(plyr->id()))))
player_icons += FONT_ICON_VEHICLE;
const auto player_iconsc = player_icons.c_str();