{"hash":"0xFA925AC00EB830B9","ns":"MISC","name":"VAR_STRING","slug":"VAR_STRING","official":true,"named":true,"luaName":"VarString","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"flags","type":"int"},{"name":"...","type":"Any"}],"summary":"It is also required to pass at least one extra argument (this must be a text label string or hash).","descriptions":[{"source":"alloc8or","format":"text","body":"Note: The first bit in 'flags' must not be set.\nIt is also required to pass at least one extra argument (this must be a text label string or hash).\nWhen passing a hash, flags should be 0."},{"source":"femga","format":"pre","body":"0xFA925AC00EB830B9      (By smallos)\nTurns out if you change some values in it, like so\nlocal str = Citizen.InvokeNative(0xFA925AC00EB830B9, 2, \"CASH_STRING\", amountInCents, Citizen.ResultAsLong())\n\nIt'll format your string nicely in cents and in the right format https://smallo.wtf/i/MqkVN5W.png\nNow I wonder if it changes the money icon to match locale"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","variadic":true,"sources":["alloc8or","femga"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/VAR_STRING","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/VAR_STRING.md","snippets":{"lua":"local retval = VarString(flags, ___)","luaInvoke":"local retval = Citizen.InvokeNative(0xFA925AC00EB830B9, flags, ___, Citizen.ResultAsString())","js":"const retval = VarString(flags, ___);","jsInvoke":"const retval = Citizen.invokeNative('0xFA925AC00EB830B9', flags, ___, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xFA925AC00EB830B9, flags, ___);","notes":[]}}