{"hash":"0xBCC2CFADEA1AEA6C","ns":"MISC","name":"_CREATE_COLOR_STRING","slug":"_CREATE_COLOR_STRING","official":false,"named":true,"luaName":"CreateColorString","game":"rdr3","apiset":"client","returnType":"const char*","params":[{"name":"rgb","type":"int"}],"summary":"Returns a formatted string (0x%x)","descriptions":[{"source":"alloc8or","format":"text","body":"Returns a formatted string (0x%x)"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/_CREATE_COLOR_STRING","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/_CREATE_COLOR_STRING.md","snippets":{"lua":"local retval = CreateColorString(rgb)","luaInvoke":"local retval = Citizen.InvokeNative(0xBCC2CFADEA1AEA6C, rgb, Citizen.ResultAsString())","js":"const retval = CreateColorString(rgb);","jsInvoke":"const retval = Citizen.invokeNative('0xBCC2CFADEA1AEA6C', rgb, Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xBCC2CFADEA1AEA6C, rgb);","notes":["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."]}}