mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-30 03:32:52 +08:00
Fixed bounty button & added bounty to all (#2846)
* Added separate ID for Set button & Added bounty for all * Reverted unrelated changes CPlayerExtendedGameStateNode should be updated on classes repo though
This commit is contained in:
@ -112,11 +112,11 @@ namespace big
|
||||
|
||||
components::command_checkbox<"anonbounty">();
|
||||
ImGui::SameLine();
|
||||
|
||||
ImGui::PushID("setbounty");
|
||||
components::button("SET"_T, [] {
|
||||
troll::set_bounty_on_player(g_player_service->get_selected(), bounty_value, g.session.anonymous_bounty);
|
||||
});
|
||||
|
||||
ImGui::PopID();
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
ImGui::EndGroup();
|
||||
|
Reference in New Issue
Block a user