{"hash":"0xACF6D8EE","ns":"CFX","name":"REGISTER_FONT_ID","slug":"REGISTER_FONT_ID","official":true,"named":true,"luaName":"RegisterFontId","game":"cfx","apiset":"client","returnType":"int","params":[{"name":"fontName","type":"char*","description":"The name of the font in the GFx font library."}],"returnsDescription":"An index to use with [SET_TEXT_FONT](#\\_0x66E0276CC5F6B9DA) and similar natives.","summary":"Registers a specified font name for use with text draw commands.","descriptions":[{"source":"cfx","format":"md","body":"Registers a specified font name for use with text draw commands."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/REGISTER_FONT_ID","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/REGISTER_FONT_ID.md","snippets":{"lua":"local retval = RegisterFontId(fontName)","luaInvoke":"local retval = Citizen.InvokeNative(0xacf6d8ee, fontName, Citizen.ResultAsInteger())","js":"const retval = RegisterFontId(fontName);","jsInvoke":"const retval = Citizen.invokeNative('0xacf6d8ee', fontName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xacf6d8ee, fontName);","notes":[]}}