SA-MP Forums Archive
strange 3dtext warning - 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: strange 3dtext warning (/showthread.php?tid=627847)



strange 3dtext warning - AndreiWow - 02.02.2017

The code:
PHP код:
format(stringsizeof(string), ""COL_LIGHTBLUE"%s\n"COL_WHITE"-----\n"COL_LIGHTBLUE"Owned by: "COL_WHITE"%s"BuildingInfo[i][bName], BuildingInfo[i][bOwner]);
        
buildings3d[BuildingInfo[i][ID]] = Create3DTextLabel(stringCOLOR_WHITEBuildingInfo[i][bEntranceX], BuildingInfo[i][bEntranceY], BuildingInfo[i][bEntranceZ], 15.000); 
The warning:
PHP код:
C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(2082) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Warning




Re: strange 3dtext warning - Eoussama - 02.02.2017

Make sure you have this on your enum

PHP код:
Text3D:ID 



Re: strange 3dtext warning - AndreiWow - 02.02.2017

Quote:
Originally Posted by Eoussama
Посмотреть сообщение
Make sure you have this on your enum

PHP код:
Text3D:ID 
Oh, completly forgot about that!

PHP код:
new Text3D:buildings3d[MAX_BUILDINGS]; 
I used ID just as a number, buildings3d was the variable.