SA-MP Forums Archive
Attach3DTextLabelToPlayer help - 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)
+--- Thread: Attach3DTextLabelToPlayer help (/showthread.php?tid=367844)



Attach3DTextLabelToPlayer help - Makaveli93 - 11.08.2012

I'm kinda confused. I want to create an AFK notifier system, which will attach a 3D text label on player when AFK. But the problem is, which one of these two to use?

CreatePlayer3DTextLabel
Create3DTextLabel


Also, if the player disconnects, do I have to destroy the 3D text label that's attached or does the server does it automatically? If not, how to check if the label is attached or not?


Re: Attach3DTextLabelToPlayer help - [MM]RoXoR[FS] - 11.08.2012

Use CreatePlayer3DTextLabel.

Yes you will need to destroy it.


Re: Attach3DTextLabelToPlayer help - Makaveli93 - 11.08.2012

And how can I know if the label is attached or not? Do I have to have another variable to store that info as well or there's an easier fix?