How do I change text font of mSelection Menu? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How do I change text font of mSelection Menu? (
/showthread.php?tid=550588)
How do I change text font of mSelection Menu? -
dionisak0s - 13.12.2014
Tittle says it all, I want to change the text font of the text shown at the top of my GM's Menu Selection.
Re: How do I change text font of mSelection Menu? -
M4D - 13.12.2014
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
Re: How do I change text font of mSelection Menu? -
dionisak0s - 13.12.2014
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.