Deleting 3D text label
#1

Hello, I need help with AFK 3D text label, code is working, but 3D text isn't delete when player resume.


PHP код:
new Text3D:PlayerAFKlabel[MAX_PLAYERS]; 
PHP код:
format(string,sizeof(string),"AFK: %i minutes - %i seconds.",PlayerData[playerid][AFKmin],PlayerData[playerid][AFKsec]);
PlayerAFKlabel[playerid] = Create3DTextLabel(string,WHITE,0.0,0.0,0.0,20,-1,0);
Attach3DTextLabelToPlayer(PlayerAFKlabel[playerid],playerid,0.0,0.5,0.0); 
And when player resume 3D text is still showing..
PHP код:
Delete3DTextLabel(PlayerAFKlabel[playerid]); 
Reply


Messages In This Thread
Deleting 3D text label - by TayFunCZE - 21.07.2016, 19:25

Forum Jump:


Users browsing this thread: 2 Guest(s)