int Initfont()
{
const char *fontPath = "GlossTrainer\\msyh.ttc";
float fontSize = 72.0f;
int fontId = registerFont(fontPath, fontSize);
return fontId;
}
Get error:
[16:44:9] [SCRIPT] GlossTrainer.asi -> loaded
[16:44:9] [SCRIPTS] Starting TRAFFICDEBUGTHREAD thread for F:\Games\RDR\Games\Red Dead Redemption\GlossTrainer.asi with Id 42
[16:44:22] [Error] [Invoker] Failed to find cmd for native 0xD8FA6417
My code script.cpp:
Get error: