chore: Remove patched toxic features (#709)

This commit is contained in:
Yimura
2022-12-16 22:12:01 +01:00
committed by GitHub
parent f2f3c28048
commit d728fabe14
3 changed files with 0 additions and 96 deletions

View File

@ -163,22 +163,6 @@ namespace big
ImGui::SameLine();
components::button("Remove All Weapons", [] { g_player_service->iterate([](auto& plyr) { toxic::remove_all_weapons(plyr.second); }); });
components::button("CEO Kick", [] {
g_player_service->iterate([](auto& plyr)
{
if (*scr_globals::gpbd_fm_3.at(plyr.second->id(), scr_globals::size::gpbd_fm_3).at(10).as<int*>() != -1)
toxic::ceo_kick(plyr.second);
});
});
components::button("CEO Ban", [] {
g_player_service->iterate([](auto& plyr)
{
if (*scr_globals::gpbd_fm_3.at(plyr.second->id(), scr_globals::size::gpbd_fm_3).at(10).as<int*>() != -1)
toxic::ceo_ban(plyr.second);
});
});
components::small_text("Teleports");
if (ImGui::BeginCombo("##apartment", apartment_names[g->session.send_to_apartment_idx]))

View File

@ -15,18 +15,11 @@ namespace big
toxic::kill_player(g_player_service->get_selected(), g_player_service->get_self());
});
components::button("CEO Kick", [] { toxic::ceo_kick(g_player_service->get_selected()); });
ImGui::SameLine();
components::button("CEO Ban", [] { toxic::ceo_ban(g_player_service->get_selected()); });
components::button("Kick From Vehicle", [] { toxic::kick_player_from_vehicle(g_player_service->get_selected()); });
ImGui::SameLine();
components::button("Ragdoll Player", [] { toxic::ragdoll_player(g_player_service->get_selected()); });
components::button("Kick From Interior", [] { toxic::kick_player_from_interior(g_player_service->get_selected()); });
components::button("Turn Into Animal", [] { toxic::turn_player_into_animal(g_player_service->get_selected()); });
if (ImGui::IsItemHovered())
ImGui::SetTooltip("Turns player into a random animal");
ImGui::SameLine();
components::button("Turn Into Beast", [] { toxic::turn_player_into_beast(g_player_service->get_selected()); });