_GET_COVER_POINT_STATE_FROM_PED
Based on its name and signature, here is our best reading:
Returns an integer state describing the ped's current cover point usage.
Signature
int _GET_COVER_POINT_STATE_FROM_PED(Ped ped); // 0x5F5B1B7E8E8F94C6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_COVER_POINT_STATE_FROM_PED |
|---|---|
| Hash | 0x5F5B1B7E8E8F94C6 |
| 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(0x5F5B1B7E8E8F94C6, -- _GET_COVER_POINT_STATE_FROM_PED
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x5F5B1B7E8E8F94C6", // _GET_COVER_POINT_STATE_FROM_PED
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x5F5B1B7E8E8F94C6, // _GET_COVER_POINT_STATE_FROM_PED
API.PlayerPedId() // Ped ped
);Related AICOVERPOINT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.