[TUT]3DTExtLabel -
MrRyan - 30.09.2010
Hello, However there is a lesson here, but I will put
Lesson
3DTextLabel
Welcome to all visitors to the SA-MP.COM

I would like to teach you this lesson on how to use the 3DTextLabeliai's
I ask you-What's 3DTextLableli? In my opinion this is a good thing for SA MP'e, it may be best to clarify for yourself

Well netemsiu rubber and get started.
Easy stuff about 3D
https://sampwiki.blast.hk/wiki/Create3DTextLabel
1.Susirandame OnGameModeInit callback'ą, and put the
Код:
Create3DTextLabel ("your text, color, x coord, y coord, z coord, distance vision, virtual world, seeing through walls)
Explanation:
Write your text, select the text
Color-color to color the text in your
XYZ coordinates of the location will be 3DTextLabeli's
D-distance vision during which indicates 3DTekstas
Seeing through the S-I 0 I put this as a major world
Everything looks like this:
Код:
public OnGameModeInit ()
(
Create3DTextLabel ("Your text", RED, -1979.6682, 137.5554, 27.6875, 80, 0, 1);
return 1;
http://www.part.lt/perziura/b566c0c5...5ee1e88513.jpg
__________________________________________________ _________________________________________
Now, how do pardodysiu 3DTextLabelį separately kėkvienam player.
Find a OnPlayerConnect callback'ą, and write: [code] CreatePlayer3DTextLabel (player id, 3D text, color, x coord, y coord, z coord, distance vision, placed the player id masinos placed the idea, seeing through walls) [/ code]
Everything is pretty much the same
1.Reikės the player ID
2.Ћaidėjo ID which will be adhered to, and the machine ID
All we can do just by writing playerid
3.Vietoje placed the player ID and record ID adhered masinos INVALID_PLAYER_ID and "INVALID_VEHICLE_ID
It looks like the following code:
Код:
public OnPlayerConnect (playerid)
(
CreatePlayer3DTextLabel (playerid, "Text", RED, -1979.6682, 137.5554, 27.6875, 11.0, 50, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1);
return 1;
)
__________________________________________________ _________________________________________
Well now I will show how to make 3DTextLabeliu's on the player and the machine-and Attach3DTextLabelToPlayer Attach3DTextLabelToVehicle
Код:
Attach3DTextLabelToPlayer (Text3D: id, player id, x coord, y coord, z coord)
Instead, the player ID, we write 0, because I want the text to the player.
now, after write-OnGameModeInit [code] new Text3D: Your text, [/ code] And apačioj:
Код:
public OnGameModeInit ()
(
Attach3DTextLabelToPlayer (Text3D: Text, 0, -1979.6682, 137.5554, 11.0);
return 1;
)
Now as a player has advanced, the coordinates will change automatically
Yes, the machine is placed on 3DTextLabelį.
[code] Attach3DTextLabelToVehicle (Text3D: id Transp. Means id x coord, y coord, z coord) [/ code]
3DTextlabeli's will be attached to the machine:
Код:
new Text3D: Text;
Elegy new,
[Code]
Public OnGameModeInit ()
(
Elegy CreateVehicle = (562, -1497.1793,587.8677,41.8775,304.3730,3,3,8000);
Create3DTextLabel text = ('Your text' RED -1979.6682, 137.5554, 27.6875, 80, 0, 1);
Attach3DTextLabelToVehicle (Text3D Text, Elegy, -1530.2866, 482.1916, 11.0);
return 1;
) [/ Code]
Thanks
Ћilvėnas
Re: [TUT]3DTExtLabel -
wups - 30.09.2010
You can't event translate the guide correctly! And also, thats on the sa-mp wiki.
Re: [TUT]3DTExtLabel -
MrRyan - 30.09.2010
Well I do not speak English well
Re: [TUT]3DTExtLabel -
Thebest96 - 30.09.2010
OMG this tuturial have errors! DONT USE THIS! OMG DELETE THIS a lot of tuturials here....
Re: [TUT]3DTExtLabel -
Luis- - 30.09.2010
Use [ pawn] [ /pawn] without the spaces..
Re: [TUT]3DTExtLabel -
MrRyan - 01.10.2010
Error?No,you mistake..
Re: [TUT]3DTExtLabel -
Scenario - 01.10.2010
Epic fail on this one.
Click Here!
Re: [TUT]3DTExtLabel -
Matej_ - 01.10.2010
Quote:
Originally Posted by RealCop228
Epic fail
|
The message you have entered is too short. Please lengthen your message to at least 8 characters.
Re: [TUT]3DTExtLabel -
Mr.Sphirit - 06.10.2010
But how can I put on a car 3DTextLabel but with a command like: /putthetext?
PS: I use ****** translate I hope you understand what I write!
Re: [TUT]3DTExtLabel -
MrRyan - 07.10.2010
LT:Galima,tik reikia pridėti komandą,na nebandęs
EN:It is possible, just need to add a team, well not try