RDR3 matchUnofficial name
PED::_SET_PED_DRUNKNESS
0xA4FB052CBF9330AA ·RVA 0x04BD8C40
Signature
void _SET_PED_DRUNKNESS(
Ped ped,
BOOL enabled,
float drunknessLevel
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | BOOL | enabled |
– |
| 2 | float | drunknessLevel |
– |
Returns
void Nothing.
Call it
// PED::_SET_PED_DRUNKNESS
invoke<Void>(0xA4FB052CBF9330AA, ped, enabled, drunknessLevel);// PED::_SET_PED_DRUNKNESS
Function.Call((Hash)0xA4FB052CBF9330AA, ped, enabled, drunknessLevel);-- PED::_SET_PED_DRUNKNESS
Citizen.InvokeNative(0xA4FB052CBF9330AA, ped, enabled, drunknessLevel)// PED::_SET_PED_DRUNKNESS
Citizen.invokeNative("0xA4FB052CBF9330AA", ped, enabled, drunknessLevel);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.