-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(natives): update natives/examples (#1031)
* feat(natives): update natives/examples * Update FREEZE_ENTITY_POSITION * Update SET_ENTITY_COORDS_NO_OFFSET * Update SET_ENTITY_ROTATION * Update SET_WEATHER_TYPE_NOW * Update SET_WEATHER_TYPE_PERSIST * Update NETWORK_OVERRIDE_CLOCK_TIME * Update SET_PED_HAIR_TINT * Update SetWeatherTypePersist.md Note regarding native support in networked sessions. * Update SetWeatherTypeNow.md Note regarding native support in networked sessions. * Update SetEntityRotation.md Reference rotation orders. * Update SetEntityRotation.md Correct condition's statement logical operators so the example actually prints when not in a vehicle. --------- Co-authored-by: ammonia-cfx <38232208+4mmonium@users.noreply.github.com>
- Loading branch information
Showing
8 changed files
with
144 additions
and
69 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
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
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
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,22 @@ | ||
--- | ||
ns: PED | ||
aliases: ["_SET_PED_HAIR_COLOR"] | ||
--- | ||
## SET_PED_HAIR_TINT | ||
|
||
```c | ||
// 0x4CFFC65454C93A49 | ||
void SET_PED_HAIR_TINT(Ped ped, int colorID, int highlightColorID); | ||
``` | ||
Sets the tint index for the hair on the specified ped. | ||
``` | ||
NativeDB Introduced: v323 | ||
``` | ||
## Parameters | ||
* **ped**: The Ped whose hair tint is to be set. | ||
* **colorID**: The tint index for the primary hair color. | ||
* **highlightColorID**: The tint index for the hair highlight color. | ||