SA-MP Forums Archive
Multi labels - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Multi labels (/showthread.php?tid=278208)



Multi labels - Admigo - 21.08.2011

Heey guys,
I want to make that everybody wear a label above his head but only 1 in the game has one.
Code:
ranklabel[playerid] = Create3DTextLabel( textstring, GetPlayerColor(playerid),-253.6752,2603.0642,62.8582, 50, 0, true);
	Attach3DTextLabelToPlayer(ranklabel[playerid], playerid, 0, 0, 0.5);
Any one can help?


Re: Multi labels - [HiC]TheKiller - 21.08.2011

Where is that code being put?


Re: Multi labels - Admigo - 21.08.2011

ooh sorry forgot. Placed at onplayerspawn:P