_GET_PED_DEFENSIVE_VOLUME
Returns the defensive volume assigned to ped.
Signature
Volume _GET_PED_DEFENSIVE_VOLUME(Ped ped, Any p1); // 0xEF2E6F870783369B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | p1 | Any |
Facts
| Name | _GET_PED_DEFENSIVE_VOLUME |
|---|---|
| Hash | 0xEF2E6F870783369B |
| Namespace | |
| Returns | Volume |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local volume = Citizen.InvokeNative(0xEF2E6F870783369B, -- _GET_PED_DEFENSIVE_VOLUME
PlayerPedId(), -- Ped ped
0, -- Any p1
Citizen.ResultAsInteger()
)
print(volume)const volume = Citizen.invokeNative("0xEF2E6F870783369B", // _GET_PED_DEFENSIVE_VOLUME
PlayerPedId(), // Ped ped
0, // Any p1
Citizen.resultAsInteger()
);
console.log(volume)int volume = Function.Call<int>((Hash)0xEF2E6F870783369B, // _GET_PED_DEFENSIVE_VOLUME
API.PlayerPedId(), // Ped ped
0 // Any p1
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.