CreatePlayer3DTextLabel bugged?
#1

I'm wondering if CreatePlayer3DTextLabel "attached" parameter is confirmed bugged/not working? I've been trying the last two days figuring out why but its quite simple, setting the attached parameter to a playerid results in the textlabel not even spawning ingame, anybody who knows the issue for this?

https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Reply
#2

Nah there is no attached paramater.
You create the label as follows:
pawn Код:
new Text3D:Label = Create3DTextLabel(arg1, arg2, etc);
Later you attach it to a player:
pawn Код:
Attach3DTextLabelToPlayer(Label, arg1, arg2, etc);
Reply
#3

Quote:
Originally Posted by Rob_Maate
Посмотреть сообщение
Nah there is no attached paramater.
You create the label as follows:
pawn Код:
new Text3D:Label = Create3DTextLabel(arg1, arg2, etc);
Later you attach it to a player:
pawn Код:
Attach3DTextLabelToPlayer(Label, arg1, arg2, etc);
Parameters:
(playerid, text[], color, Float:X, Float:Y, Float:Z, FloatrawDistance, attachedplayer, attachedvehicle, testLOS)
As far as I can see theres an attachedplayer parameter right there, the Create3DTextLabel wont work, theres obviously a reason for me using CreatePlayer3DTextLabel, I want it to be shown for only one player.
Reply
#4

Bump
Reply
#5

What's your exact code show us maybe something else is the problem
Reply
#6

pawn Код:
stock CreateTags(playerid){ foreach(Player,i){ CreatePlayer3DTextLabel(i,PlayerAccount[playerid][Name],COLOR_PURPLE,0,0,1,15.0,playerid); }}
Notice: if I remove the playerid at attached, it would spawn and appear.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)