PDA

View Full Version : TextDraw


nezo2001
27/01/2015, 02:42 PM
Hello, This is the first time to create TextDraw so i made this
CMD:text(playerid, params[])
{
new PlayerText:test[MAX_PLAYERS];
test[playerid] = CreatePlayerTextDraw(playerid, 240, 580, "This is test");
PlayerTextDrawShow(playerid, test[playerid]);
return 1;
}

But it didn't show anything....
Any Help ?!
:D

Rabea
27/01/2015, 02:47 PM
CMD:text(playerid, params[])
{
new Text:test[MAX_PLAYERS];
test[playerid] = CreatePlayerTextDraw(playerid, 240, 580, "This is test");
PlayerTextDrawShow(playerid, test[playerid]);
return 1;
}

nezo2001
27/01/2015, 02:51 PM
It didn't work i got only 2 warnings :D

Vince
27/01/2015, 02:55 PM
Your text is off the screen. Valid values for Y are between 0 and 480.

nezo2001
27/01/2015, 03:02 PM
lol i took it from SAMP WIKI :D

lanix
27/01/2015, 04:06 PM
use this :http://bsndesign.webs.com/tde.htm