Text draw help
#1

Ok, added the new
Quote:

Text:Textdraw0;

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.
Reply
#2

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.
Reply
#3

How will the code look like?

I'm not really good with text draw scripts
Reply
#4

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.
Reply
#5

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
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)