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


Forum Jump:


Users browsing this thread: 1 Guest(s)