[Help]3DTextLabels Problem
#1

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.
Reply
#2

Attaching 3dtextlabels to players is really buggy not recommended.
Reply
#3

Код:
new Text3D:label[MAX_PLAYERS];
Delete3DTextLabel(label[playerid]);
Reply
#4

Quote:
Originally Posted by RaZzZzoR
Посмотреть сообщение
Код:
new Text3D:label[MAX_PLAYERS];
Delete3DTextLabel(label[playerid]);
Thanks it helped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)