SA-MP Forums Archive
DeletePlayer3DTextLabel 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DeletePlayer3DTextLabel HELP (/showthread.php?tid=243794)



DeletePlayer3DTextLabel HELP - DataScript - 24.03.2011

Can Someone Make me a Line to Delete a 3DTExtplayer?
I Really don't Understand how to Use this DeletePlayer3DTextLabel.. Can you Make it for Me. I'm making a AFK System


Re: DeletePlayer3DTextLabel HELP - TheYoungCapone - 24.03.2011

Delete3DTextLabel(Text3D:label[playerid]);


Re: DeletePlayer3DTextLabel HELP - Mike Garber - 24.03.2011

pawn Код:
// Top of your script so It is global
new Text3D:afklabel[MAX_PLAYERS];

// When someone types /afk or w/e the command is
afklabel[playerid] = Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);

// When someones types /back or w/e
Delete3DTextLabel(afklabel[playerid]);