3D attached to player textlabel -
oliverrud - 14.12.2011
Are they bugged in 0.3D, cause I litterly can't get them working whether I make one with a streamer or with, CreatePlayer3DTextLabel.
They don't appear ingame at the character I set it for?
Examples of what I've done:
pawn Код:
CreatePlayer3DTextLabel(playerid,string,COLOR_PURPLE,0,0,0,15.0,playerid);
CreateDynamic3DTextLabel(string,COLOR_PURPLE,0,0,0,15.0,playerid,INVALID_VEHICLE_ID,1,-1,-1,playerid);
None of those are working, I'm basically just trying to display a 3D textlabel that is attached to a player which is only viewable for "i" = someplayer, though in this example I've just set it playerid instead of i
Re: 3D attached to player textlabel -
KingHual - 14.12.2011
'CreatePlayer3DTextLabel' creates the 3d label for the specified playerid only. You should use 'Attach3DTextLabelToPlayer'.
Re: 3D attached to player textlabel -
oliverrud - 14.12.2011
Quote:
Originally Posted by king_hual
'CreatePlayer3DTextLabel' creates the 3d label for the specified playerid only. You should use 'Attach3DTextLabelToPlayer'.
|
Parameters:
(playerid, text[], color, Float:X, Float:Y, Float:Z, Float

rawDistance, attachedplayer, attachedvehicle, testLOS)
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Re: 3D attached to player textlabel -
KingHual - 14.12.2011
Like i said, if you want to attach a label to a player, use 'Attach3DTextLabelToPlayer'
Re: 3D attached to player textlabel -
oliverrud - 14.12.2011
With what? CreatePlayer3DTextLabel, cause if so, it wont work considering the IDs of those are differently handled then Create3DTextLabel, The 3Dtextlabels I'm trying to create are supposed to be only shown for one player specifically