3D text label
#1

How to attach 3D text label to actor(PED)
I used this and it is not working
Код:
Create3DTextLabel("Dobrodosli na New Age DeathMatch server", 0x00FF00FF, 483.7206, -1750.3092, 13.5625, 0, 0);
Reply
#2

Try this:
http://forum.sa-mp.com/showthread.ph...24#post3691824
Reply
#3

I followed your tutorial. But it is not attaching it on Actor
Reply
#4

Try using streamer
and:
Код:
native STREAMER_TAG_3D_TEXT_LABEL CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1);
native DestroyDynamic3DTextLabel(STREAMER_TAG_3D_TEXT_LABEL id);
native IsValidDynamic3DTextLabel(STREAMER_TAG_3D_TEXT_LABEL id);
native GetDynamic3DTextLabelText(STREAMER_TAG_3D_TEXT_LABEL id, text[], maxtext = sizeof text);
native UpdateDynamic3DTextLabelText(STREAMER_TAG_3D_TEXT_LABEL id, color, const text[]);
Reply
#5

and where should i put this?
Reply
#6

Can you PM me the code for this (if you have time). I am a bit noobish here
Reply
#7

Teach now oMa37, you need to teach how to connect 3d text label to the ped/actor not only give him the functions.
Reply
#8

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Can you PM me the code for this (if you have time). I am a bit noobish here
Show me the actor code and I'll do it for you.
Reply
#9

Quote:
Originally Posted by KevinExec
Посмотреть сообщение
Show me the actor code and I'll do it for you.
Код:
CreateActor(71, 1483.7206, -1750.3092, 15.4453, 4.2050);
Here you go
Reply
#10

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
Teach now oMa37, you need to teach how to connect 3d text label to the ped not only give him the functions.
Why not?
EDIT: Kevin was faster than me
Macko:
This may work, haven't tested it
PHP код:
// Top of your script
new Actor;
// OnGameModeInit()
Actor CreateActor(711483.7206, -1750.309215.44534.2050);
Text3D:Actor CreateDynamic3DTextLabel("Hey!", -11483.7206, -1750.309215.44533.0INVALID_PLAYER_IDINVALID_VEHICLE_ID0, -1, -1, -1100.0); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)