mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 14:27:44 +08:00
refactor(Spawn): Prevent typing when in spawn menu
This commit is contained in:
parent
eeaffce80f
commit
0dda572ceb
@ -3,12 +3,17 @@
|
|||||||
|
|
||||||
namespace big
|
namespace big
|
||||||
{
|
{
|
||||||
static char model[64];
|
static char model[12];
|
||||||
|
|
||||||
void tabbar::render_spawn()
|
void tabbar::render_spawn()
|
||||||
{
|
{
|
||||||
if (ImGui::BeginTabItem("Spawn"))
|
if (ImGui::BeginTabItem("Spawn"))
|
||||||
{
|
{
|
||||||
|
QUEUE_JOB_BEGIN_CLAUSE()
|
||||||
|
{
|
||||||
|
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
|
||||||
|
}QUEUE_JOB_END_CLAUSE
|
||||||
|
|
||||||
if (
|
if (
|
||||||
ImGui::InputText("Model Name", model, sizeof(model), ImGuiInputTextFlags_EnterReturnsTrue) ||
|
ImGui::InputText("Model Name", model, sizeof(model), ImGuiInputTextFlags_EnterReturnsTrue) ||
|
||||||
ImGui::Button("Spawn")
|
ImGui::Button("Spawn")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user