SA-MP Forums Archive
DeletePlayer3DTextLabel Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DeletePlayer3DTextLabel Error (/showthread.php?tid=153302)



DeletePlayer3DTextLabel Error - MrIlusion - 08.06.2010

I using this;

I have this:
chat[playerid] = Create3DTextLabel(string,0xFF0000FF,30.0,40.0,50.0 ,40.0,0);
Attach3DTextLabelToPlayer(chat[playerid], playerid, 0.0, 0.0, 0.5);

And i used an SetTimer to this:
Код:
DeletePlayer3DTextLabel(playerid, chat[playerid]);
And error: warning 213: tag mismatch

What to do ?


Re: DeletePlayer3DTextLabel Error - misko28 - 08.06.2010

You should use

new 3DText:chat[MAX_PLAYERS];


Re: DeletePlayer3DTextLabel Error - MrIlusion - 08.06.2010

I used this


Re: DeletePlayer3DTextLabel Error - MadeMan - 08.06.2010

pawn Код:
new PlayerText3D:chat[MAX_PLAYERS];