SET_TEXT_FONT_FOR_CURRENT_COMMAND
Sets the text font for the current text drawing command.
Signature
void SET_TEXT_FONT_FOR_CURRENT_COMMAND(int fontId);Parameters
| Name | Type | Description |
|---|---|---|
fontId | int | The index of the font. |
Returns void
Description
Sets the text font for the current text drawing command.
Usage
SetTextFontForCurrentCommand(fontId)
-- always works, by hash
Citizen.InvokeNative(0xada9255d, fontId)JavaScript and C#
SetTextFontForCurrentCommand(fontId);
// by hash
Citizen.invokeNative('0xada9255d', fontId);Function.Call((Hash)0xada9255d, fontId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.