void drawstring(std::string string, float X, float Y)
{
std::string Template = "<FONT FACE='$title' COLOR='#%04X'>" + string + "</FONT>";
const char* InsertTemplate= MISC::_CREATE_VAR_STRING(10, "LITERAL_STRING", _strdup(Template.c_str()));
HUD::_DISPLAY_TEXT(MISC::_CREATE_VAR_STRING(42, "COLOR_STRING", 0, InsertTemplate), X, Y);
}
this is how you draw text with font, just change the $title to any other font names, can be found using open iv