mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 23:17:52 +08:00
22 lines
470 B
C++
22 lines
470 B
C++
![]() |
#include "gui/tab_bar.hpp"
|
||
|
|
||
|
namespace big
|
||
|
{
|
||
|
void tabbar::player_drop()
|
||
|
{
|
||
|
if (ImGui::BeginTabItem("Drop"))
|
||
|
{
|
||
|
if (ImGui::Button("Drop Money (!)"))
|
||
|
{
|
||
|
QUEUE_JOB_BEGIN_CLAUSE()
|
||
|
{
|
||
|
Vector3 coords = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(g_selectedPlayer.id), true);
|
||
|
|
||
|
features::functions::create_ambient_money(coords, rand() % 500 + 2000);
|
||
|
}QUEUE_JOB_END_CLAUSE
|
||
|
}
|
||
|
|
||
|
ImGui::EndTabItem();
|
||
|
}
|
||
|
}
|
||
|
}
|