mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
fix(wanted): fix wanted level commands
This commit is contained in:
1 parent
f1a909b464
commit
4e78d04d87
2 files changed
+2
-2
No files matched your search
@@ -66,7 +66,7 @@ namespace YimMenu::Submenus
|
||||
weapons->AddItem(weaponsGlobalsGroup);
|
||||
AddCategory(std::move(weapons));
|
||||
|
||||
auto vehicle = std::make_shared<Category>("Vehicle");
|
||||
auto vehicle = std::make_shared<Category>("Vehicle");
|
||||
auto vehicleGlobalsGroup = std::make_shared<Group>("Globals");
|
||||
auto vehicleMiscGroup = std::make_shared<Group>("Misc");
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ namespace YimMenu
|
||||
|
||||
void Player::SetWantedLevel(int level)
|
||||
{
|
||||
PLAYER::SET_PLAYER_WANTED_LEVEL_NOW(GetId(), level);
|
||||
PLAYER::SET_PLAYER_WANTED_LEVEL(GetId(), level, false);
|
||||
}
|
||||
|
||||
void Player::SetVisibleLocally(bool visible)
|
||||
|
||||
Reference in new issue
Block a user