{"hash":"0xCD356B42C57BFE01","ns":"WEAPON","name":"_GET_CORRECT_KIT_EMOTE_TWIRL_GUN","slug":"_GET_CORRECT_KIT_EMOTE_TWIRL_GUN","official":false,"named":true,"luaName":"GetCorrectKitEmoteTwirlGun","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"weaponGuid","type":"Any*"}],"summary":"_GET_BEST_* - _GET_CLOSEST_*","descriptions":[{"source":"alloc8or","format":"text","body":"_GET_BEST_* - _GET_CLOSEST_*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1355","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_CORRECT_KIT_EMOTE_TWIRL_GUN","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_CORRECT_KIT_EMOTE_TWIRL_GUN.md","snippets":{"lua":"local retval, weaponGuid = GetCorrectKitEmoteTwirlGun(ped, weaponGuid)","luaInvoke":"local retval, weaponGuid = Citizen.InvokeNative(0xCD356B42C57BFE01, ped, Citizen.PointerValueIntInitialized(weaponGuid), Citizen.ReturnResultAnyway())","js":"const [retval, weaponGuid] = GetCorrectKitEmoteTwirlGun(ped, weaponGuid);","jsInvoke":"const [retval, weaponGuid] = Citizen.invokeNative('0xCD356B42C57BFE01', ped, Citizen.pointerValueIntInitialized(weaponGuid), Citizen.returnResultAnyway());","csharp":"var weaponGuid = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xCD356B42C57BFE01, ped, weaponGuid);\n// weaponGuid.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}