[HELP]How to create 3DTextLabel ??? +REP
#1

Hello all...
Can you help me ??
How To create 3DTextLabel ???

I'll give 1 REP for who can Help me for how to creat 3DTxtLabel !!!
Reply
#2

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Example
pawn Код:
Create3DTextLabel("Your text here", Color, Float:x, Float:y,Float:z, Drawdistance, 0, 0);
Код:
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
Reply
#3

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Example
pawn Код:
Create3DTextLabel("Your text here", Color, Float:x, Float:y,Float:z, Drawdistance, 0, 0);
Код:
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
Can i add X-Coor , Y-Coor , Z-Coor with /save in samp debug And Can you give me an Example ?
Reply
#4

pawn Код:
Create3DTextLabel("I'm at the middle of San Andreas!", 0xFFFF00FF, 0.0, 0.0, 3.0, 10.0, 0, 0);
An example,
"I'm at middle of San Andreas" = Text string.
"0xFFFF00FF" = Color of the text label.
"0.0, 0.0, 3.0" = Co-ordinate of the San Andreas map.
"10.0" = You can see it within 10 ft (from 10.0, 10.0, 13.0). (If not wrong)
"0" = In virtual world 0. (You can change it)
"0" = You can see through object! (If not wrong, if wrong please correct me )
Reply
#5

Quote:
Originally Posted by LeeXian99
Посмотреть сообщение
pawn Код:
Create3DTextLabel("I'm at the middle of San Andreas!", 0xFFFF00FF, 0.0, 0.0, 3.0, 10.0, 0, 0);
An example,
"I'm at middle of San Andreas" = Text string.
"0xFFFF00FF" = Color of the text label.
"0.0, 0.0, 3.0" = Co-ordinate of the San Andreas map.
"10.0" = You can see it within 10 ft (from 10.0, 10.0, 13.0). (If not wrong)
"0" = In virtual world 0. (You can change it)
"0" = You can see through object! (If not wrong, if wrong please correct me )
I dont Understand ... SilentSoul says x-coor , y-coor ,z-coor
But , You says 0.0,0.0,3.0 = Coor of the SA Map ??

??

SomeOne Can Help Me ?? +REP +REP
Reply
#6

Co-ordinates of SA map can be obtained from your files, do /save in any server and you'll find it out in your GTA SA User Files.
Reply
#7

Quote:

I dont Understand ... SilentSoul says x-coor , y-coor ,z-coor
But , You says 0.0,0.0,3.0 = Coor of the SA Map ??

the 0.0,0.0,3.0 is in the format x,y,z coords.
and yes on the samp map.
and yes , u can use /save and use those coords.
cheers
Reply
#8

Okay ... i'll try it
Reply
#9

woahhhhh.... Thanks All ... thank you for help me ... +REP +REP
Reply
#10

Write this at "OnGamemodeInit":
Код:
CreateDynamic3DTextLbel(" TEXT TEXT TEXT", COLOR , THE POSITION +0.6,10.0);
Like this:

Код:
CreateDynamic3DTextLabel("Burger Shot North \nType /driveby to buy food",COLOR_RED,1214.691772, -903.268920, 42.920112+0.6,10.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)