GET_BEST_PED_SHORTARM_GUID
Hash
0xF52BD94B47CCF736Runtime name
GetBestPedShortarmGuidNamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207
Signature
void GET_BEST_PED_SHORTARM_GUID(Ped ped, Any* outGUID, BOOL p2, BOOL p3);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
outGUID | Any* | — |
p2 | BOOL | — |
p3 | BOOL | — |
Returns void
Usage
local outGUID = GetBestPedShortarmGuid(ped, p2, p3)
-- always works, by hash
local outGUID = Citizen.InvokeNative(0xF52BD94B47CCF736, ped, Citizen.PointerValueInt(), p2, p3)JavaScript and C#
const outGUID = GetBestPedShortarmGuid(ped, p2, p3);
// by hash
const outGUID = Citizen.invokeNative('0xF52BD94B47CCF736', ped, Citizen.pointerValueInt(), p2, p3);var outGUID = new OutputArgument();
Function.Call((Hash)0xF52BD94B47CCF736, ped, outGUID, p2, p3);
// outGUID.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.