mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-24 18:25:41 +00:00
switch collision with debug menu
This commit is contained in:
parent
15a99da50e
commit
ad8e8f4341
1 changed files with 8 additions and 0 deletions
|
@ -160,6 +160,13 @@ TeleportToWaypoint(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
SwitchCarCollision(void)
|
||||
{
|
||||
if (FindPlayerVehicle() && FindPlayerVehicle()->IsCar())
|
||||
FindPlayerVehicle()->bUsesCollision = !FindPlayerVehicle()->bUsesCollision;
|
||||
}
|
||||
|
||||
static int engineStatus;
|
||||
static void
|
||||
SetEngineStatus(void)
|
||||
|
@ -362,6 +369,7 @@ DebugMenuPopulate(void)
|
|||
#ifdef MENU_MAP
|
||||
DebugMenuAddCmd("Debug", "Teleport to map waypoint", TeleportToWaypoint);
|
||||
#endif
|
||||
DebugMenuAddCmd("Debug", "Switch car collision", SwitchCarCollision);
|
||||
DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil);
|
||||
DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus);
|
||||
DebugMenuAddCmd("Debug", "Fix Car", FixCar);
|
||||
|
|
Loading…
Reference in a new issue