{"hash":"0xCB8F4C9343EBE240","ns":"PED","name":"_0xCB8F4C9343EBE240","slug":"0xCB8F4C9343EBE240","official":false,"named":false,"luaName":"N_0xcb8f4c9343ebe240","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"eventType","type":"Hash"},{"name":"coords","type":"Vector3*"}],"summary":"Only used in R* SP Scripts _GET_PLAYER_W* - _GET_RANDOM_*","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* SP Scripts\n_GET_PLAYER_W* - _GET_RANDOM_*"}],"examples":[],"aliases":[],"enums":["eEventType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/0xCB8F4C9343EBE240","markdownUrl":"https://natives.borderlinerp.com/natives/PED/0xCB8F4C9343EBE240.md","snippets":{"lua":"local retval, coords = N_0xcb8f4c9343ebe240(ped, eventType, coords)","luaInvoke":"local retval, coords = Citizen.InvokeNative(0xCB8F4C9343EBE240, ped, eventType, Citizen.PointerValueVector(), Citizen.ReturnResultAnyway())","js":"const [retval, coords] = N_0xcb8f4c9343ebe240(ped, eventType, coords);","jsInvoke":"const [retval, coords] = Citizen.invokeNative('0xCB8F4C9343EBE240', ped, eventType, Citizen.pointerValueVector(), Citizen.returnResultAnyway());","csharp":"var coords = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xCB8F4C9343EBE240, ped, eventType, coords);\n// coords.GetResult<Vector3>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","This native has no known name, so the runtime exposes it only as `N_0xcb8f4c9343ebe240` (if present in the client snapshot). `InvokeNative` with the hash always works."]}}