PDA

View Full Version : Tag mismatch (+REP) :)


Lirbo
31/07/2015, 05:10 PM
#define MAX_TELEPORTS 500

new TPText[MAX_TELEPORTS];

for(new i = 0; i < MAX_TELEPORTS; i++){
format(String,sizeof(String),"- Teleport -\n%s",tpDB[i][Description]);
TPText[i] = Create3DTextLabel(String, C_WHITE, tpDB[i][X],tpDB[i][Y],tpDB[i][Z], 25.0, tpDB[i][VW], 0);
TPText[i] = Create3DTextLabel(String, C_WHITE, tpDB[i][ToX],tpDB[i][ToY],tpDB[i][ToZ], 25.0, tpDB[i][ToVW], 0);
}


Tag mismatch lines are the TPText[i] = Create3DTextLabel, if i remove the TPText[i] its working fine.

Jefff
31/07/2015, 05:21 PM
Add tag ''Text3D:'' to new TPText