Warnings over here!
#6

It is and you should declare it as a global array then.

pawn Код:
// global (under #define):
new Text3D: IAM[MAX_PLAYERS] = {INVALID_3DTEXT_ID, ...};
in OnPlayerConnect:
pawn Код:
IAM[playerid] = INVALID_3DTEXT_ID;
To where it creates the 3d label:
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);
To where it destroys it:
pawn Код:
Delete3DTextLabel(IAM[playerid]);
Reply


Messages In This Thread
Warnings over here! - by rakshith122 - 28.01.2014, 13:35
Re: Warnings over here! - by Scrillex - 28.01.2014, 13:39
Re: Warnings over here! - by Konstantinos - 28.01.2014, 13:41
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:05
Re: Warnings over here! - by Sawalha - 28.01.2014, 14:10
Re: Warnings over here! - by Konstantinos - 28.01.2014, 14:11
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:23
Re: Warnings over here! - by Konstantinos - 28.01.2014, 14:29
Re: Warnings over here! - by rakshith122 - 28.01.2014, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)