REGISTER_FONT_FILE
Registers a specified .gfx file as GFx font library.
Signature
void REGISTER_FONT_FILE(char* fileName);Parameters
| Name | Type | Description |
|---|---|---|
fileName | char* | The name of the .gfx file, without extension. |
Returns void
Description
Registers a specified .gfx file as GFx font library. The .gfx file has to be registered with the streamer already.
Usage
RegisterFontFile(fileName)
-- always works, by hash
Citizen.InvokeNative(0x1b3a363, fileName)JavaScript and C#
RegisterFontFile(fileName);
// by hash
Citizen.invokeNative('0x1b3a363', fileName);Function.Call((Hash)0x1b3a363, fileName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.