How do I change text font of mSelection Menu?
#1

Tittle says it all, I want to change the text font of the text shown at the top of my GM's Menu Selection.
Reply
#2

open include and edit it

pawn Код:
stock PlayerText:mS_CreatePlayerHeaderTextDraw(playerid, Float:Xpos, Float:Ypos, header_text[])
{
    new PlayerText:txtInit;
    txtInit = CreatePlayerTextDraw(playerid, Xpos, Ypos, header_text);
    PlayerTextDrawUseBox(playerid, txtInit, 0);
    PlayerTextDrawLetterSize(playerid, txtInit, 1.25, 3.0);
    PlayerTextDrawFont(playerid, txtInit, 0);
    PlayerTextDrawSetShadow(playerid, txtInit, 0);
    PlayerTextDrawSetOutline(playerid, txtInit, 1);
    PlayerTextDrawColor(playerid, txtInit, 0xACCBF1FF);
    PlayerTextDrawShow(playerid, txtInit);
    return txtInit;
}
in this line:

pawn Код:
PlayerTextDrawFont(playerid, txtInit,  /*Font ID Here ------>*/ 0);
change font...

font ids
Reply
#3

Quote:
Originally Posted by M4D
Посмотреть сообщение
open include and edit it

pawn Код:
stock PlayerText:mS_CreatePlayerHeaderTextDraw(playerid, Float:Xpos, Float:Ypos, header_text[])
{
    new PlayerText:txtInit;
    txtInit = CreatePlayerTextDraw(playerid, Xpos, Ypos, header_text);
    PlayerTextDrawUseBox(playerid, txtInit, 0);
    PlayerTextDrawLetterSize(playerid, txtInit, 1.25, 3.0);
    PlayerTextDrawFont(playerid, txtInit, 0);
    PlayerTextDrawSetShadow(playerid, txtInit, 0);
    PlayerTextDrawSetOutline(playerid, txtInit, 1);
    PlayerTextDrawColor(playerid, txtInit, 0xACCBF1FF);
    PlayerTextDrawShow(playerid, txtInit);
    return txtInit;
}
in this line:

pawn Код:
PlayerTextDrawFont(playerid, txtInit,  /*Font ID Here ------>*/ 0);
change font...

font ids
Thank you very much, here's your reputation.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)