feat(Spoofing) disable player control

This commit is contained in:
karifeld 2021-12-25 19:41:25 +08:00 committed by GitHub
parent 317d121a04
commit dd92e6af0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,11 @@ namespace big
if (ImGui::TreeNode("Username"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
}QUEUE_JOB_END_CLAUSE
ImGui::Checkbox("Spoof Username", &g.spoofing.spoof_username);
static char name[20];
@ -28,6 +33,11 @@ namespace big
if (ImGui::TreeNode("IP Address"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
}QUEUE_JOB_END_CLAUSE
ImGui::Checkbox("Spoof IP", &g.spoofing.spoof_ip);
ImGui::Text("IP Address:");
@ -38,6 +48,11 @@ namespace big
if (ImGui::TreeNode("Rockstar ID"))
{
QUEUE_JOB_BEGIN_CLAUSE()
{
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
}QUEUE_JOB_END_CLAUSE
ImGui::Checkbox("Spoof Rockstar ID", &g.spoofing.spoof_rockstar_id);
ImGui::Text("Rockstar ID:");