Game codeUnofficial name
PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
0x9BF4C613E7ABDE83 ·RVA 0x03CD8180
Signature
void _SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY(
Ped ped,
Entity entity,
Vector3 pos,
float radius,
BOOL p6,
BOOL p7
);
The scripts pass 9 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Entity | entity |
– |
| 2 | Vector3 | pos |
– |
| 3 | float | radius |
– |
| 4 | BOOL | p6 |
RDR3 says int, but the game reads it as a true/false value. |
| 5 | BOOL | p7 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
invoke<Void>(0x9BF4C613E7ABDE83, ped, entity, pos, radius, p6, p7);// PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
Function.Call((Hash)0x9BF4C613E7ABDE83, ped, entity, pos, radius, p6, p7);-- PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
Citizen.InvokeNative(0x9BF4C613E7ABDE83, ped, entity, pos, radius, p6, p7)// PED::_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY
Citizen.invokeNative("0x9BF4C613E7ABDE83", ped, entity, pos, radius, p6, p7);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.