_GET_PED_ATTITUDE
Returns the attitude of ped towards player.
Signature
int _GET_PED_ATTITUDE(Ped ped, Player player); // 0x7CC2186C32D3540A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | player | Player |
Facts
| Name | _GET_PED_ATTITUDE |
|---|---|
| Hash | 0x7CC2186C32D3540A |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x7CC2186C32D3540A, -- _GET_PED_ATTITUDE
PlayerPedId(), -- Ped ped
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x7CC2186C32D3540A", // _GET_PED_ATTITUDE
PlayerPedId(), // Ped ped
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x7CC2186C32D3540A, // _GET_PED_ATTITUDE
API.PlayerPedId(), // Ped ped
API.PlayerId() // Player player
);Related PED natives
- _GET_PED_WHO_HOGITIED_THIS_PED
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_BLACKBOARD_BOOL
- _GET_PED_BLACKBOARD_FLOAT
- _GET_PED_BLACKBOARD_HASH
- _GET_PED_BRAWLING_STYLE
- _GET_PED_CAN_BE_INCAPACITATED_THIS_FRAME
- _GET_PED_COMBAT_ATTRIBUTE
- _GET_PED_COMBAT_SPEED
- _GET_PED_COMPONENT_CATEGORY_BY_INDEX
- _GET_PED_DAMAGE_CLEANLINESS
- _GET_PED_DAMAGED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.