_SET_PED_COMBAT_BEHAVIOUR
Sets the combat behaviour behaviour used by ped.
Signature
void _SET_PED_COMBAT_BEHAVIOUR(Ped ped, Hash behaviour); // 0x9238A3D970BBB0A9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | behaviour | Hash |
Facts
| Name | _SET_PED_COMBAT_BEHAVIOUR |
|---|---|
| Hash | 0x9238A3D970BBB0A9 |
| 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(0x9238A3D970BBB0A9, -- _SET_PED_COMBAT_BEHAVIOUR
PlayerPedId(), -- Ped ped
GetHashKey("name") -- Hash behaviour
)Citizen.invokeNative("0x9238A3D970BBB0A9", // _SET_PED_COMBAT_BEHAVIOUR
PlayerPedId(), // Ped ped
GetHashKey("name") // Hash behaviour
);Function.Call((Hash)0x9238A3D970BBB0A9, // _SET_PED_COMBAT_BEHAVIOUR
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name") // Hash behaviour
);Related PED natives
- _SET_PED_COMBAT_ATTRIBUTE_HASH
- _SET_PED_COMBAT_SPEED
- _SET_PED_COMBAT_STYLE
- _SET_PED_COMBAT_STYLE_MOD
- _SET_PED_CAN_BE_LASSOED
- _SET_PED_CAN_UNK_BODYPART_IK
- _SET_PED_CROUCH_MOVEMENT
- _SET_PED_CULL_RANGE
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
- _SET_PED_ANIMAL_DETECTION_MODIFIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.