Text draw help - 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: Text draw help (
/showthread.php?tid=404416)
Text draw help -
ElCowboy - 03.01.2013
Ok, added the new
I went in my test server and nothing showed, I used ipleo editor.
CODE:
Quote:
Textdraw0 = TextDrawCreate(1.333263, 429.582183, "http://TESTING");
TextDrawLetterSize(Textdraw0, 0.393999, 1.833953);
TextDrawTextSize(Textdraw0, 639.555725, 640.142272);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -16776961);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 255);
TextDrawSetShadow(Textdraw0, 1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawBackgroundColor(Textdraw0, -1061109505);
TextDrawFont(Textdraw0, 2);
TextDrawSetProportional(Textdraw0, 1);
|
I always have a problem with textdraws, please help, thank you.
Re: Text draw help -
Basssiiie - 03.01.2013
This only creates your textdraw, it doesn't show it to the people you want. You can use
TextDrawShowForPlayer or
TextDrawShowForAll to make it visible.
Re: Text draw help -
ElCowboy - 03.01.2013
How will the code look like?
I'm not really good with text draw scripts
Re: Text draw help -
Basssiiie - 03.01.2013
Something like this should show it for everyone when they connect:
Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}
I suggest you read some tutorials about Pawn and SA-MP scripting, because this is some of the very basic stuff.
Re: Text draw help -
ElCowboy - 03.01.2013
Thank you Basssiie, and yes, I will mind reading more tutorials of textdraw, Textdraws give me nightmares.
Mind helping me on this problem?
https://sampforum.blast.hk/showthread.php?tid=404393
Re: Text draw help -
Basssiiie - 03.01.2013
That whole intro screen is just clever work with timers, switching between some textdraws and the interpolation of the camera, like already said in the thread. I don't think someone is planning on rewriting that entire script for you, you should try to learn the language, so you can make those things yourself.