Textdraw Box
#1

hi guys i need little help with textdraws.....

I want to create box with textdraws but in doing so box show like this on screen, any way to make the box just under "text"?



https://imgur.com/a/KjORZ

secondly is it possible to remove mini-map just when player is at login screen?
Reply
#2

Why you don't put the textdraws on the position of the map? Also use adri1's textdraw editor (aka TDE ) to make textdraws like you want.
Reply
#3

i tried to use TDE and it worked but idk how to put that in my gamemode...it give me list like this...

Код:
152.600006|20.360023|1.221600|3.384532|494.000000|0.000000|1|16777215|0|-1061109505|-1|0|-1|0|1|1|1|*****_Gaming_Roleplay|0|0.000000|0.000000|0.000000|0.000000|0|0
37.200027|315.440032|0.400000|1.600000|92.000000|0.000000|1|255|1|-1061109505|0|0|255|1|1|1|1|Website:|0|0.000000|0.000000|0.000000|0.000000|0|0
36.400001|354.266876|0.400000|1.600000|121.000000|0.000000|1|255|1|-1061109505|0|0|255|1|1|0|1|TeamSpeak3:|0|0.000000|0.000000|0.000000|0.000000|0|0
21.999937|296.026702|1.183200|4.713599|0.000000|0.000000|1|-2147483393|0|255|0|0|255|1|1|0|1|.|0|0.000000|0.000000|0.000000|0.000000|0|0
20.399940|336.346832|1.183200|4.713599|0.000000|0.000000|1|-2147483393|0|255|0|0|255|1|1|0|1|.|0|0.000000|0.000000|0.000000|0.000000|0|0
290.000000|190.000000|0.400000|1.600000|0.000000|0.000000|1|-1|0|255|0|0|255|1|1|0|1|TDEditor|0|0.000000|0.000000|0.000000|0.000000|0|0
Reply
#4

In TDE go to project and use Export as PWN (or something like this, I have last worked with it a month ago) They are made only for the TDE not for human usage.
Reply
#5

got it man, thanks so much
Reply
#6

Use
new Text:Website;
new Text:TeamSpeak;
new Text:PlayersOnline;

TextDraw1(playerid)
{
Website=TextDrawCreate(xyz coordiantes, "text")
(2 tabs space)TextDrawColor(Website,use color here)
(2 tabs space)TextDrawFont(Website,font 0 - 3 ****** for fonts)
(2 tabs)TextDrawShadow(Website,0)
}
do the same to other 2 textdraws.
Btw i dont kow how to make to show how many players are on textdrawd


NOTE!!!!: 2 TABS WHEN I SAID TO. { SIGN DOESNT MOVE WITH LINE UNDER IT.
Reply
#7

Use TDE editor, you are opening the wrong file.
Go inside the folder "scriptfiles" and find the .txt file with your project name.

Those are player textdraws, means that you want to make it visible only for one player, when he is loggin in.

Add your variables like this:
new PlayerText:Website[MAX_PLAYERS];

Now put your textdraw code under the login script.
At the end of the code, put this:

PlayerTextDrawShow(playerid, Website[playerid])

After the login, destroy the textdraw with:

PlayerTextDrawDestroy(playerid, Website[player])
Reply
#8

already fixed my textdraws with TDEditor but still no idea abut Mini-Map..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)