Delete 3d text label when player dis.
#1

Hi,

I need to delete 3d text label when player exit? In onplayerdisconnect? Or server automatic delete label which is attached to human? (attach3D....toplayer).
Reply
#2

I Guess"Guess" it is auto deleted OnPlayerDeath and OnPlayerDisconnect
Reply
#3

If it assigned to the player's ID, example: mylabel[playerid], then yes, you need to delete it when the player disconnects (OnPlayerDisconnect). Well in some terms, you don't HAVE to delete it, but it's much more efficient and easier to understand if you delete it on disconnect, and create on connect (OnPlayerConnect/OnPlayerSpawn). The server will not automatically delete the label for you when you die or disconnect, it may not be connected to a player, but that doesn't mean it's been deleted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)