feat(world): model swapper (#1003)

This commit is contained in:
Aure7138
2023-02-21 06:20:40 +08:00
committed by GitHub
parent 1361e09281
commit c798bbe7c9
11 changed files with 167 additions and 3 deletions

View File

@ -103,6 +103,10 @@ namespace big
rage::fvector3 pos = *m_pointer->m_navigation->get_position();
teleport::to_coords({ pos.x, pos.y, pos.z });
}},
{"COPY HASH", [this] {
ImGui::SetClipboardText(std::format("0x{:08X}", (rage::joaat_t)m_pointer->m_model_info->m_hash).c_str());
g_notification_service->push("Context Menu", std::format("Copy hash 0x{:08X}", (rage::joaat_t)m_pointer->m_model_info->m_hash).c_str());
}}
}
};

View File

@ -30,6 +30,7 @@ namespace big
TRAIN,
WATER,
BLACKHOLE,
MODEL_SWAPPER,
NETWORK,
SESSION,
@ -88,6 +89,7 @@ namespace big
{ tabs::TRAIN, { "Train", view::train }},
{ tabs::WATER, { "Water", view::water }},
{ tabs::BLACKHOLE, { "Blackhole", view::blackhole }},
{ tabs::MODEL_SWAPPER, { "Model Swapper", view::model_swapper }},
}}},
{tabs::NETWORK, { "Network", nullptr, {
{ tabs::SPOOFING, { "Spoofing", view::spoofing }},