* feat(Commands): Prototype command system
* feat(Commands): Chat commands
* refactor(Toxic): convert most options into commands
* feat(Protections): block breakup kicks on other players as host
* refactor(Kicks): convert most options into commands
* refactor(Commands): add labels and descriptions to all commands
* feat(Commands): cleanup on unload
* refactor(Troll): convert most options into commands
* refactor(Misc): convert most options into commands
* refactor(Teleport): convert most options into commands
* feat(Commands): Variadic commands and toggleable bools
* feat(Hotkeys): hotkeys now use commands
* fix(Chat): fix the chat window locking up when a message is sent
* fix(Commands): properly handle spoofed username
* fix(Spam): update filter

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
This commit is contained in:
maybegreat48
2022-12-22 21:23:32 +00:00
committed by GitHub
parent f44859a973
commit 79e5e7a30b
143 changed files with 3194 additions and 1458 deletions

View File

@ -19,9 +19,9 @@ namespace big
}
}
ImGui::SameLine();
ImGui::Checkbox("Spawn In", &g.spawn_vehicle.spawn_inside);
components::command_checkbox<"spawnin">();
ImGui::SameLine();
ImGui::Checkbox("Spawn Maxed", &g.spawn_vehicle.spawn_maxed);
components::command_checkbox<"spawnmaxed">();
static char plate_buf[9] = { 0 };
strncpy(plate_buf, g.spawn_vehicle.plate.c_str(), 9);

View File

@ -20,7 +20,7 @@ namespace big
});
ImGui::SameLine();
ImGui::Checkbox("Keep Vehicle Repaired", &g.vehicle.keep_vehicle_repaired);
components::command_checkbox<"keepfixed">();
ImGui::Separator();
@ -67,29 +67,30 @@ namespace big
components::sub_title("General");
{
ImGui::BeginGroup();
ImGui::Checkbox("God Mode", &g.vehicle.god_mode);
ImGui::Checkbox("Horn Boost", &g.vehicle.horn_boost);
ImGui::Checkbox("Vehicle Jump", &g.vehicle.vehicle_jump);
components::command_checkbox<"hornboost">();
components::command_checkbox<"vehjump">();
ImGui::EndGroup();
ImGui::SameLine();
ImGui::BeginGroup();
ImGui::Checkbox("Instant Brake", &g.vehicle.instant_brake);
ImGui::Checkbox("Can Be Targeted", &g.vehicle.is_targetable);
ImGui::Checkbox("Drive On Water", &g.vehicle.drive_on_water);
components::command_checkbox<"instantbrake">();
components::command_checkbox<"blockhoming">();
components::command_checkbox<"driveonwater">();
ImGui::EndGroup();
ImGui::SameLine();
ImGui::BeginGroup();
ImGui::Checkbox("Seatbelt", &g.vehicle.seatbelt);
components::command_checkbox<"seatbelt">();
ImGui::Checkbox("Turn Signals", &g.vehicle.turn_signals);
if (g.vehicle.turn_signals)
{
ImGui::Checkbox("Fully Automatic Signal", &g.vehicle.auto_turn_signals);
}
ImGui::Checkbox("No Water Collision", &g.vehicle.no_water_collision);
components::command_checkbox<"driveunder">();
ImGui::EndGroup();
}