SA-MP Forums Archive
Tag mismatch (+REP) :) - 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: Tag mismatch (+REP) :) (/showthread.php?tid=583865)



Tag mismatch (+REP) :) - Lirbo - 31.07.2015

PHP код:
#define MAX_TELEPORTS 500
new TPText[MAX_TELEPORTS];
for(new 
0MAX_TELEPORTSi++){
    
format(String,sizeof(String),"- Teleport -\n%s",tpDB[i][Description]);
    
TPText[i] = Create3DTextLabel(StringC_WHITEtpDB[i][X],tpDB[i][Y],tpDB[i][Z], 25.0tpDB[i][VW], 0);
    
TPText[i] = Create3DTextLabel(StringC_WHITEtpDB[i][ToX],tpDB[i][ToY],tpDB[i][ToZ], 25.0tpDB[i][ToVW], 0);
    } 
Tag mismatch lines are the TPText[i] = Create3DTextLabel, if i remove the TPText[i] its working fine.


Re: Tag mismatch (+REP) :) - Jefff - 31.07.2015

Add tag ''Text3D:'' to new TPText