15.05.2014, 14:38
In my code i have Delete3DTextLabel used two times - in OnPlayerConnect and OnPlayerDisconnect
And for me it works good - never get bugged.
Код:
//OnPlayerConnect Delete3DTextLabel(pLabel[playerid][0]); pLabel[playerid][0] = Create3DTextLabel(pName[playerid], 0xFFFFFFFF, 0.0, 0.0, 0.25, 12.5, -1); return Attach3DTextLabelToPlayer(pLabel[playerid][0], playerid, 0.0, 0.0, -0.65); //OnPlayerDisconnect Delete3DTextLabel(pLabel[playerid][0]); //In some timer Update3DTextLabelText(...);