SA-MP Forums Archive
[Tutorial] How to make 3D text to a specific location. - 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: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to make 3D text to a specific location. (/showthread.php?tid=489478)



How to make 3D text to a specific location. - Grig - 22.01.2014

Hello! I thought to do a tutorial on how create a 3D text!
Let's start:
pawn Код:
Create3DTextLabel(text, color, X, Y, Z, Distance, virtualworld, testLOS)
Now I will explain each function:

text = The message sent
color = color text
X = X coordinate
y = y coordinate
z = coordinate z
Distance = distance from where you can see this text 3D
virtualworld - virtual world in which to experience 3D text (-1 to occur in virtual worlds)
text = This tests the line of sight so you will not see through objects (use 0 or 1).
testLOS = This tests the line of sight so you will not see through objects (use 0 or 1).

And an example:
pawn Код:
Create3DTextLabel ("Welcome to the server.We hope to have fun.", 0xFFFFFFFF, 2148.4529,-1485.1881,26.6237, 50, 0);
I hope it will be useful!

P.S:Sorry for my bad english,i'm from Romania.
If there is such a tutorial, please give remove.


Re: How to make 3D text to a specific location. - ernisup - 31.01.2014

good work


Re: How to make 3D text to a specific location. - Flake. - 01.02.2014

Eh nice work but all these examples are on the wiki.


Re: How to make 3D text to a specific location. - Renaldasj - 01.02.2014

for pawn begineers it will be usefull, keep it on !