SA-MP Forums Archive
Help With Textdraws - 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: Help With Textdraws (/showthread.php?tid=278849)



Help With Textdraws - Azzeto - 24.08.2011

I need help with textdraws.. So like when a player connects to my server it'll say "Welcome to SDKFreeRoam scripted by [SDK]Azzeto, This is what I have so far
pawn Code:
new Text:welcome;
pawn Code:
Public OnGameModeInit
welcome = TextDrawCreate(240.0,580.0,"SDKFreeRoam Scripted by [SDK]Azzeto");
pawn Code:
Public OnPlayerConnect
TextDrawShowForPlayer(playerid,welcome);
I'v read the wiki and got that, but It doesnt show ingame.


Re: Help With Textdraws - =WoR=Varth - 24.08.2011

Wrong coordinate.
Quote:

The x,y coordinate is the top left coordinate for the text draw area based on a 640x480 "canvas" (irrespective of screen resolution). If you plan on using TextDrawAlignment with alignment 3 (right), the x,y coordinate is the top right coordinate for the text draw.




Re: Help With Textdraws - iPLEOMAX - 24.08.2011

The textdraw positions should be between the limits (640 Width and 480 Height)

But your second position doesn't look suitable for the textdraw.




Re: Help With Textdraws - Azzeto - 24.08.2011

Any program to use where I could find the coords of where I want the textdraw?


Re: Help With Textdraws - =WoR=Varth - 24.08.2011

Quote:
Originally Posted by iPLEOMAX
View Post
The textdraw positions should be between the limits (640 Width and 480 Height)

But your second position doesn't look suitable for the textdraw.

I already mention it.


FS:
https://sampforum.blast.hk/showthread.php?tid=117851


Re: Help With Textdraws - iPLEOMAX - 24.08.2011

Use this: Textdraw Editor V1 by Zamaroht

@Varth, By the time I uploaded the image and responded back, you already posted. I didn't see it before.
and now, you editted your post with the fs link.. lol. Guess I'm just too late to be on time.


Re: Help With Textdraws - Azzeto - 24.08.2011

Thank you.