[Help]3DTextLabels Problem - 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)
+--- Thread: [Help]3DTextLabels Problem (
/showthread.php?tid=434284)
[Help]3DTextLabels Problem -
luis_mendoza - 01.05.2013
So i have this warnings
Код:
D:\samp\gamemodes\z.pwn(1045) : error 028: invalid subscript (not an array or too many subscripts): "label"
D:\samp\gamemodes\z.pwn(1045) : warning 215: expression has no effect
D:\samp\gamemodes\z.pwn(1045) : error 001: expected token: ";", but found "]"
D:\samp\gamemodes\z.pwn(1045) : error 029: invalid expression, assumed zero
D:\samp\gamemodes\z.pwn(1045) : fatal error 107: too many error messages on one line
Код:
new
Text3D:label;
Delete3DTextLabel(label[playerid]); // line 1045
I need help how can i delete3dtextlabel with playerid.I dont want to use deleteplayer3dtextlabel , because it doesnt destroy the Text3D , it destroys only PlayerText3D.
Re: [Help]3DTextLabels Problem -
Pottus - 01.05.2013
Attaching 3dtextlabels to players is really buggy not recommended.
Re: [Help]3DTextLabels Problem -
RaZzZzoR - 01.05.2013
Код:
new Text3D:label[MAX_PLAYERS];
Delete3DTextLabel(label[playerid]);
Re: [Help]3DTextLabels Problem -
luis_mendoza - 02.05.2013
Quote:
Originally Posted by RaZzZzoR
Код:
new Text3D:label[MAX_PLAYERS];
Delete3DTextLabel(label[playerid]);
|
Thanks it helped.