mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 16:52:30 +08:00
Editor+ (#745)
* 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:
@ -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(), { });
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user