_SET_META_PED_WEARINESS
Based on its name and signature, here is our best reading:
Appears to set the weariness level of the meta ped ped.
Signature
void _SET_META_PED_WEARINESS(Ped ped, float weariness); // 0x314C5465195F3B30 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | weariness | float |
Facts
| Name | _SET_META_PED_WEARINESS |
|---|---|
| Hash | 0x314C5465195F3B30 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x314C5465195F3B30, -- _SET_META_PED_WEARINESS
PlayerPedId(), -- Ped ped
0.0 -- float weariness
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x314C5465195F3B30", // _SET_META_PED_WEARINESS
PlayerPedId(), // Ped ped
0.0 // float weariness
);Function.Call((Hash)0x314C5465195F3B30, // _SET_META_PED_WEARINESS
API.PlayerPedId(), // Ped ped
0.0f // float weariness
);Related PED natives
- _SET_META_PED_TAG
- _SET_ACTIVE_META_PED_COMPONENTS_UPDATED
- _APPLY_PED_META_PED_OUTFIT
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _SET_MIN_PED_HEALTH_THRESHOLD
- _SET_AMBIENT_PED_DENSITY_MULTIPLIER_THIS_FRAME
- _SET_DEFENSE_MODIFIER_FOR_PED
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.