SA-MP Forums Archive
How to Creat Like this ... - 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)
+--- Thread: How to Creat Like this ... (/showthread.php?tid=479925)



How to Creat Like this ... - Laserman - 07.12.2013

Hi people,
I really want to creat like this on my server.

so please tell me how .

Screenshot:


2nd:


Please help me


Re: How to Creat Like this ... - Cuhz - 07.12.2013

They're called text labes. You can create one like this.

CreateDynamic3DTextLabel("Your text\nNew line.", COLORS, 310.3679,-1537.5204,-45.1338+0.6,4.0);

It's kinda like that, but with the numbers, you put in the code of where you want it to be.


Re: How to Creat Like this ... - Laserman - 07.12.2013

Quote:
Originally Posted by Cuhz
Посмотреть сообщение
They're called text labes. You can create one like this.

CreateDynamic3DTextLabel("Your text\nNew line.", COLORS, 310.3679,-1537.5204,-45.1338+0.6,4.0);

It's kinda like that, but with the numbers, you put in the code of where you want it to be.
I cant use the code..

CreateDynamic3DTextLabel("Your text\nNew line.", COLORS, 310.3679,-1537.5204,-45.1338+0.6,4.0);

please explain me for sec...
its error its said undefined symbol "CreateDynamic3DTextLabel"

and where can I insert the position in code please explain me


Re: How to Creat Like this ... - iFiras - 07.12.2013

(text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, virtualworld, testLOS)
text[] The initial text string.
color The text Color
x X-Coordinate
y Y-Coordinate
z Z-Coordinate
DrawDistance The distance from where you are able to see the 3D Text Label
VirtualWorld The virtual world in which you are able to see the 3D Text
testLOS 0/1 Test the line-of-sight so this text can't be seen through objects

https://sampwiki.blast.hk/wiki/Create3DTextLabel
And put that OnGameModeInit


Re: How to Creat Like this ... - erminpr0 - 07.12.2013

Use CreateObject, or get streamer plugin & include.

But if you wan't to create whole house system, take a look on tutorials on this forum, there are many of them.

Anyway to create single label use this form:

pawn Код:
Create3DTextLabel("Green text\nNew line\n{FF0000}Red text", 0x00FF00EF, Float:X, Float:Y, Float:Z, Float:drawdistance, virtualworld, testLOS);
// if testLOS was set to true (1), 3d text would be visible through objects, and not visible if was set to false (0)



Re: How to Creat Like this ... - FahadKing07 - 08.12.2013

As erminpr0 said THE CODE u can use it, but if still u have problem or dont know where to add this send me PM, i will help


Re: How to Creat Like this ... - boomerboom - 08.12.2013

They are called labels check my singtrue for it