3D Text Label tag mismatch
#1

This code:

PHP код:
if(Text3D:label[playerid] != -1
Is giving me this error:

Код:
warning 213: tag mismatch
Here is some of the involved code:

PHP код:
new Text3D:label[MAX_PLAYERS]; 
PHP код:
label[playerid] = Create3DTextLabel("Referee",COLOR_WHITE,0.0,0.0,-100.0,30,0,0); 
Basically I'm trying to set up a system to atatch a label to a player and then be able to remove it. Seems like I need to use an array to be able to remove it for an individual.
Reply
#2

Код:
new Text3D:label[MAX_PLAYERS] = {Text3D:-1, ...};
Код:
if(label[playerid] != Text3D:-1)
Reply
#3

Thank you it works now. Rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)