CreatePlayer3DTextLabel bugged? -
oliverrud - 15.12.2011
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
Re: CreatePlayer3DTextLabel bugged? -
Rob_Maate - 15.12.2011
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);
Re: CreatePlayer3DTextLabel bugged? -
oliverrud - 15.12.2011
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, Float

rawDistance, 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.
Re: CreatePlayer3DTextLabel bugged? -
oliverrud - 16.12.2011
Bump
Re: CreatePlayer3DTextLabel bugged? -
§с†¶e®РµРe - 16.12.2011
What's your exact code show us maybe something else is the problem
Re: CreatePlayer3DTextLabel bugged? -
oliverrud - 16.12.2011
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.