{"hash":"0x6C4DBF553885F9EB","ns":"MISC","name":"_GET_STRING_FROM_VECTOR","slug":"_GET_STRING_FROM_VECTOR","official":false,"named":true,"luaName":"GetStringFromVector","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Returns a string in the following format: <<%.4f,%.4f,%.4f>>","descriptions":[{"source":"alloc8or","format":"text","body":"Returns a string in the following format: <<%.4f,%.4f,%.4f>>"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_GET_STRING_FROM_VECTOR","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_GET_STRING_FROM_VECTOR.md","snippets":{"lua":"local retval = GetStringFromVector(x, y, z)","luaInvoke":"local retval = Citizen.InvokeNative(0x6C4DBF553885F9EB, x, y, z, Citizen.ResultAsString())","js":"const retval = GetStringFromVector(x, y, z);","jsInvoke":"const retval = Citizen.invokeNative('0x6C4DBF553885F9EB', x + 0.0000001, y + 0.0000001, z + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0x6C4DBF553885F9EB, x, y, z);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}