* feat(Toxic): add send to island
* feat(mobile): add helicopter backup
* refractor(mobile): update seperator
* feat(Troll): add set bounty

* tps
tp all to island
tp all to eclipse
tp to eclipse

* working hijack &, delete. + placeholders
* speed, derail
* drive train, working derail
* improved drive train
* exit train, rework delete
* using CReplayInterface
This commit is contained in:
Rimmuru
2023-01-06 23:25:16 +00:00
committed by GitHub
parent 7ac66e099b
commit 8c1093c491
17 changed files with 246 additions and 9 deletions

View File

@ -103,7 +103,8 @@ namespace big
components::player_command_button<"interiortp">(g_player_service->get_selected(), { 160 }, "TP To Freakshop");
ImGui::SameLine();
components::player_command_button<"interiortp">(g_player_service->get_selected(), { 161 }, "TP To Multi Floor Garage");
ImGui::SameLine();
components::player_command_button<"giveweaps">(g_player_service->get_selected(), { });
ImGui::SameLine();
components::player_command_button<"remweaps">(g_player_service->get_selected(), { });

View File

@ -1,6 +1,7 @@
#include "views/view.hpp"
#include "util/teleport.hpp"
#include "util/vehicle.hpp"
#include "util/troll.hpp"
namespace big
{
@ -12,10 +13,15 @@ namespace big
ImGui::SameLine();
components::player_command_button<"bring">(g_player_service->get_selected());
components::player_command_button<"playervehtp">(g_player_service->get_selected());
components::player_command_button<"rcplayer">(g_player_service->get_selected());
static int bounty_value = 0;
ImGui::SliderInt("Bounty", &bounty_value, 0, 10000);
ImGui::SameLine();
components::button("Set", [] { troll::set_bounty_on_player(g_player_service->get_selected(), bounty_value);});
ImGui::TreePop();
}
}