_ADD_PED_STAY_OUT_VOLUME
Adds volume to the areas ped will avoid entering, returning true on success.
Signature
BOOL _ADD_PED_STAY_OUT_VOLUME(Ped ped, Volume volume); // 0xE9B168527B337BF0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | volume | Volume |
Facts
| Name | _ADD_PED_STAY_OUT_VOLUME |
|---|---|
| Hash | 0xE9B168527B337BF0 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xE9B168527B337BF0, -- _ADD_PED_STAY_OUT_VOLUME
PlayerPedId(), -- Ped ped
0 -- Volume volume
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE9B168527B337BF0", // _ADD_PED_STAY_OUT_VOLUME
PlayerPedId(), // Ped ped
0, // Volume volume
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE9B168527B337BF0, // _ADD_PED_STAY_OUT_VOLUME
API.PlayerPedId(), // Ped ped
0 // Volume volume
);Related PED natives
- _REMOVE_PED_STAY_OUT_VOLUME
- _ADD_PED_SUBSCRIBE_TO_LEGENDARY_BLIPS
- _ADD_SCENARIO_BLOCKING_VOLUME
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_DEFENSIVE_VOLUME
- _GET_PED_WHO_HOGITIED_THIS_PED
- _REFRESH_CARRIED_PED_FOR_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.