-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(extra-natives/five): implement [GET/SET]_VEHICLE_XMAS_SNOW_FACTOR
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 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
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: CFX | ||
apiset: client | ||
game: gta5 | ||
--- | ||
## GET_VEHICLE_XMAS_SNOW_FACTOR | ||
```c | ||
float GET_VEHICLE_XMAS_SNOW_FACTOR(); | ||
``` | ||
A getter for [SET_VEHICLE_XMAS_SNOW_FACTOR](#_80cc4c9e). | ||
## Return value | ||
Returns the grip factor for the vehicles wheels during xmas weather. default value is 0.2. |
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,11 @@ | ||
--- | ||
ns: CFX | ||
apiset: client | ||
game: gta5 | ||
--- | ||
## SET_VEHICLE_XMAS_SNOW_FACTOR | ||
```c | ||
void SET_VEHICLE_XMAS_SNOW_FACTOR(float gripFactor); | ||
``` | ||
## Parameters | ||
* **gripFactor**: amount of grip strength vehicle wheels have when xmas weather is active, 1.0 being normal weather grip. 0.2 is the default. |