SA-MP Forums Archive
3D Text - 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: 3D Text (/showthread.php?tid=126510)



3D Text - MrLeNy - 08.02.2010

Hello. I have an issue with Create3DTextLabel, because sometimes it does not erase me. Here's the code:
The Command / zw
Код:
Status[playerid] = Create3DTextLabel("> Zaraz Wracam <",COLOR_GREEN,0.0,0.0,0.0,40.0,0);
Attach3DTextLabelToPlayer(Status[playerid], playerid, 0.0, 0.0, 0.5);
In the command / jj
Код:
Delete3DTextLabel(Status[playerid]);
on top of the map:
Код:
new Text3D:Status[MAX_SLOTS];
What may be to blame?



Re: 3D Text - SlashPT - 09.02.2010

change MAX_SLOTS

Код:
new Text3D:Status[MAX_SLOTS];
to MAX_PLAYERS

Код:
new Text3D:Status[MAX_PLAYERS];
then try again... i hope it works... :P