ApplyPedBloodSpecific — FiveM Natives
0xEF0D582CBF2D9B0F · PED · all
Applies blood damage to a ped with specific parameters for zone, UV offsets, rotation, scale, and initial aging. `` NativeDB Introduced: v323 ``
Parameters
| Name | Type | Description |
|---|---|---|
| ped | Ped | The Ped to which blood damage is applied. |
| component | int | Specific component or body part. |
| u | float | UV texture coordinates for placing the decal in the specified zone. |
| v | float | UV texture coordinates for placing the decal in the specified zone. |
| rotation | float | Angle in degrees for the rotation of the blood decal. |
| scale | float | Scale factor for the damage, ranging from 0.0 to 1.0. |
| forcedFrame | int | Allows a specific frame of damage to be chosen (-1 for random selection). |
| preAge | float | Number of seconds to pre-age the damage for an "old wound" effect (0.0 for fresh wound). |
| bloodName | char* | Name of the blood type, matching an entry in peddamage.xml. |
Returns
void