{"hash":"0xCAF4CA2F87779F8F","ns":"NETWORK","name":"_REQUEST_PEDSHOT_TEXTURE_LOCAL_DOWNLOAD","slug":"_REQUEST_PEDSHOT_TEXTURE_LOCAL_DOWNLOAD","official":false,"named":true,"luaName":"RequestPedshotTextureLocalDownload","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"gamerHandle","type":"Any*"},{"name":"p1","type":"int"}],"summary":"Only used in R* SP Script map_app_event_handler","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* SP Script map_app_event_handler"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/_REQUEST_PEDSHOT_TEXTURE_LOCAL_DOWNLOAD","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_REQUEST_PEDSHOT_TEXTURE_LOCAL_DOWNLOAD.md","snippets":{"lua":"local retval, gamerHandle = RequestPedshotTextureLocalDownload(p1)","luaInvoke":"local retval, gamerHandle = Citizen.InvokeNative(0xCAF4CA2F87779F8F, Citizen.PointerValueInt(), p1, Citizen.ResultAsString())","js":"const [retval, gamerHandle] = RequestPedshotTextureLocalDownload(p1);","jsInvoke":"const [retval, gamerHandle] = Citizen.invokeNative('0xCAF4CA2F87779F8F', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"var gamerHandle = new OutputArgument();\nstring retval = Function.Call<string>((Hash)0xCAF4CA2F87779F8F, gamerHandle, p1);\n// gamerHandle.GetResult<int>()","notes":["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.","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."]}}