{"hash":"0xAC9FF854BD4BA9B5","ns":"SCRIPT","name":"_NET_RPC_GUID_TO_STRING","slug":"_NET_RPC_GUID_TO_STRING","official":false,"named":true,"luaName":"NetRpcGuidToString","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"netRpcGuid","type":"Any*"}],"summary":"Returns \"INVALID_NET_RPC_GUID\" if netRpcGuid is invalid.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns \"INVALID_NET_RPC_GUID\" if netRpcGuid is invalid."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1311","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/SCRIPT/_NET_RPC_GUID_TO_STRING","markdownUrl":"https://natives.borderlinerp.com/natives/SCRIPT/_NET_RPC_GUID_TO_STRING.md","snippets":{"lua":"local retval, netRpcGuid = NetRpcGuidToString(netRpcGuid)","luaInvoke":"local retval, netRpcGuid = Citizen.InvokeNative(0xAC9FF854BD4BA9B5, Citizen.PointerValueIntInitialized(netRpcGuid), Citizen.ResultAsString())","js":"const [retval, netRpcGuid] = NetRpcGuidToString(netRpcGuid);","jsInvoke":"const [retval, netRpcGuid] = Citizen.invokeNative('0xAC9FF854BD4BA9B5', Citizen.pointerValueIntInitialized(netRpcGuid), Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"var netRpcGuid = new OutputArgument();\nstring retval = Function.Call<string>((Hash)0xAC9FF854BD4BA9B5, netRpcGuid);\n// netRpcGuid.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."]}}