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(string, sizeof(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(string, COLOR_WHITE, BuildingInfo[i][bEntranceX], BuildingInfo[i][bEntranceY], BuildingInfo[i][bEntranceZ], 15.0, 0, 0);
The warning:
PHP код:
C:\Users\andrei\Desktop\Scripting SA-MP\Basic RP Script Scratch FIX\gamemodes\U1.pwn(2082) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Re: strange 3dtext warning -
Eoussama - 02.02.2017
Make sure you have this on your enum
Re: strange 3dtext warning -
AndreiWow - 02.02.2017
Quote:
Originally Posted by Eoussama
Make sure you have this on your enum
|
Oh, completly forgot about that!
PHP код:
new Text3D:buildings3d[MAX_BUILDINGS];
I used ID just as a number, buildings3d was the variable.