SA-MP Forums Archive
Text draw - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Text draw (/showthread.php?tid=132209)



Text draw - ScottCFR - 06.03.2010

How can i make a TextDraw? Like in the corner by the map it says my site. I searched a little but all i can find is what others have asked.


Re: Text draw - XRVX - 06.03.2010

Click


Re: Text draw - ScottCFR - 06.03.2010

Ok, I got that. HOw many varibles are in TextDrawShowForPlayer, And TextDrawHideForPlayer. I have

Code:
TextDrawShowForPlayer(playerid)
TextDrawHideForPlayer(playerid)



Re: Text draw - Ironboy500 - 06.03.2010

Load that FS and make textdraw you want in-game. After it save it and search for code in your scriptfiles.


Re: Text draw - ScottCFR - 06.03.2010

I did, And heres what it says.

Code:
// TextDraw developed using Zamaroht's Textdraw Editor 1.0

// On top of script:
new Text:Textdraw0;

// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(250.000000, 10.000000, "DrugRP.com");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);

// You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and
// TextDrawDestroy functions to show, hide, and destroy the textdraw.
It doesn't tell me how many varibles


Re: Text draw - Ironboy500 - 06.03.2010

You don't need any variables now, just copy/paste testdraw text!