03.08.2009, 23:06
Ok, Is There A Way I Can Put My Website Domain In The Bottom Right Corner Of My SAMP Server?
And Have It There The Whole Time?
And Have It There The Whole Time?
Originally Posted by V_FoR_VendettA
Yes,
i would use TextDraw. Check SA-MP wiki. there are some functions for making a textdraw. TextDrawFont, TextDrawAlignment, TextDrawSetOutline, ... Just enter TextDrawCreate at the search box in sa-mp wiki, the other functions will stand at Related Functions. https://sampwiki.blast.hk/wiki/TextDrawCreate Make a textdraw, then put at OnPlayerConnect (or OnPlayerSpawn): TextDrawShowForPlayer(playerid, Text:MyTextDraw); and your website will remain there the whole time. |
new Text:Textdraw3;
public OnGameModeInit()
Textdraw3 = TextDrawCreate(170.000000,417.000000,"YOUR WEBSITE STUFF HERE"); TextDrawAlignment(Textdraw3,0); TextDrawBackgroundColor(Textdraw3,0xFFFF00AA); // change the 0xFFFF00AA to whatever color TextDrawFont(Textdraw3,3); TextDrawLetterSize(Textdraw3,0.499999,1.700000); TextDrawColor(Textdraw3,0xAA3333AA); // change the 0xAA3333AA to whatever color TextDrawSetProportional(Textdraw3,1);
Originally Posted by Mr_FinnigaN
At top of gamemode
Код:
new Text:Textdraw3; Код:
public OnGameModeInit() Код:
Textdraw3 = TextDrawCreate(170.000000,417.000000,"YOUR WEBSITE STUFF HERE"); TextDrawAlignment(Textdraw3,0); TextDrawBackgroundColor(Textdraw3,0xFFFF00AA); TextDrawFont(Textdraw3,3); TextDrawLetterSize(Textdraw3,0.499999,1.700000); TextDrawColor(Textdraw3,0xAA3333AA); TextDrawSetProportional(Textdraw3,1); |
ShowTextDrawForPlayer(playerid,Textdraw3);
HideTextDrawForPlayer(playerid,Textdraw3);
Originally Posted by saiberfun
Quote:
pawn Код:
pawn Код:
|