SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Help Archive (https://forum.sa-mp.com/forumdisplay.php?f=89)
-   -   Help With Textdraws (https://forum.sa-mp.com/showthread.php?t=278849)

Azzeto 24/08/2011 08:14 AM

Help With Textdraws
 
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.

=WoR=Varth 24/08/2011 08:27 AM

Re: Help With Textdraws
 
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.

iPLEOMAX 24/08/2011 08:30 AM

Re: Help With Textdraws
 
The textdraw positions should be between the limits (640 Width and 480 Height)

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

http://img38.imageshack.us/img38/3253/limith.png

Azzeto 24/08/2011 08:34 AM

Re: Help With Textdraws
 
Any program to use where I could find the coords of where I want the textdraw?

=WoR=Varth 24/08/2011 08:34 AM

Re: Help With Textdraws
 
Quote:

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

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

http://img38.imageshack.us/img38/3253/limith.png

I already mention it.


FS:
http://forum.sa-mp.com/showthread.php?t=117851

iPLEOMAX 24/08/2011 08:37 AM

Re: Help With Textdraws
 
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.

Azzeto 24/08/2011 08:37 AM

Re: Help With Textdraws
 
Thank you.


All times are GMT. The time now is 05:06 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.