_GET_PED_FROM_COVER_POINT
weaponHash can also be -1
Hash
0x140B3CB1D424A945Runtime name
GetPedFromCoverPointNamespaceAICOVERPOINT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _GET_PED_FROM_COVER_POINT(Ped ped, Hash weaponHash);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
weaponHash | Hash | — |
Returns void
Description
weaponHash can also be -1
returns the ped that is using this cover point created by ADD_COVER_POINT and adding the ped using tasks like TASK_PUT_PED_DIRECTLY_(*
Usage
GetPedFromCoverPoint(ped, weaponHash)
-- always works, by hash
Citizen.InvokeNative(0x140B3CB1D424A945, ped, weaponHash)JavaScript and C#
GetPedFromCoverPoint(ped, weaponHash);
// by hash
Citizen.invokeNative('0x140B3CB1D424A945', ped, weaponHash);Function.Call((Hash)0x140B3CB1D424A945, ped, weaponHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.