28.01.2014, 14:11
It is and you should declare it as a global array then.
in OnPlayerConnect:
To where it creates the 3d label:
To where it destroys it:
pawn Код:
// global (under #define):
new Text3D: IAM[MAX_PLAYERS] = {INVALID_3DTEXT_ID, ...};
pawn Код:
IAM[playerid] = INVALID_3DTEXT_ID;
pawn Код:
IAM[playerid] = Create3DTextLabel("Administrator on duty!\n*Do not Disturb*",0xF600F6FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(IAM[playerid],playerid,0.0,0.0,0.5);
pawn Код:
Delete3DTextLabel(IAM[playerid]);

