diff --git a/VEHICLE/ClearVehicleGeneratorAreaOfInterest.md b/VEHICLE/ClearVehicleGeneratorAreaOfInterest.md new file mode 100644 index 000000000..8fc243764 --- /dev/null +++ b/VEHICLE/ClearVehicleGeneratorAreaOfInterest.md @@ -0,0 +1,12 @@ +--- +ns: VEHICLE +aliases: ["0x0A436B8643716D14"] +--- +## CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST + +```c +// 0x0A436B8643716D14 0x6C73E45A +void CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST(); +``` + +Removes the cargen area of interest and resumes normal cargen spawning \ No newline at end of file diff --git a/VEHICLE/N_0x0a436b8643716d14.md b/VEHICLE/N_0x0a436b8643716d14.md deleted file mode 100644 index 84b492c16..000000000 --- a/VEHICLE/N_0x0a436b8643716d14.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -ns: VEHICLE ---- -## _0x0A436B8643716D14 - -```c -// 0x0A436B8643716D14 0x6C73E45A -void _0x0A436B8643716D14(); -``` - -``` -CLEAR_VEHICLE_* -``` - diff --git a/VEHICLE/N_0x9a75585fb2e54fad.md b/VEHICLE/N_0x9a75585fb2e54fad.md deleted file mode 100644 index 84edb6b6c..000000000 --- a/VEHICLE/N_0x9a75585fb2e54fad.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -ns: VEHICLE ---- -## _0x9A75585FB2E54FAD - -```c -// 0x9A75585FB2E54FAD 0x935A95DA -void _0x9A75585FB2E54FAD(float x, float y, float z, float radius); -``` - -``` -Related to car generators & CPlayerSwitchMgrLong -SET_VEHICLE_* -SET_VEHICLE_GENERATORS_EXPECTED_GAMEPLAY_PT ? -``` - -## Parameters -* **x**: -* **y**: -* **z**: -* **radius**: - diff --git a/VEHICLE/SetVehicleGeneratorAreaOfInterest.md b/VEHICLE/SetVehicleGeneratorAreaOfInterest.md new file mode 100644 index 000000000..88105f5d0 --- /dev/null +++ b/VEHICLE/SetVehicleGeneratorAreaOfInterest.md @@ -0,0 +1,21 @@ +--- +ns: VEHICLE +aliases: ["0x9A75585FB2E54FAD"] +--- +## SET_VEHICLE_GENERATOR_AREA_OF_INTEREST + +```c +// 0x9A75585FB2E54FAD 0x935A95DA +void SET_VEHICLE_GENERATOR_AREA_OF_INTEREST(float x, float y, float z, float radius); +``` + +Specifies an area of interest where cargens will focus on spawning vehicles + +You can clear the area of interest with [`CLEAR_VEHICLE_GENERATOR_AREA_OF_INTEREST`](#_0x0A436B8643716D14) + +## Parameters +* **x**: The X coordinate of the central point of the area of interest. +* **y**: The Y coordinate of the central point of the area of interest. +* **z**: The Z coordinate of the central point of the area of interest. +* **radius**: The radius around the central point, defining the size of the area of interest +