-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vehicles/genarea): update cargen area natives
- Loading branch information
Showing
4 changed files
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||