warning 213: tag mismatch (Problem with Enum) - 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: warning 213: tag mismatch (Problem with Enum) (
/showthread.php?tid=413239)
warning 213: tag mismatch (Problem with Enum) -
kamilot73 - 04.02.2013
Hi! help me please.
Код:
enum flInfo
{
Float:EnterX,
Float:EnterY,
Folat:EnterZ,
Folat:CarX,
Folat:CarY,
Folat:CarZ,
Folat:CarC,
fID,
Etazh,
fPickUp,
LastVirtID
};
new FI[1000][flInfo];
than I do this:
Код:
sscanf(res,"p<|>dfffdffffd",
FI[idx][fID],
FI[idx][EnterX],
FI[idx][EnterY],
FI[idx][EnterZ],
FI[idx][Etazh],
FI[idx][CarX],
FI[idx][CarY],
FI[idx][CarZ],
FI[idx][CarC],
FI[idx][LastVirtID]);
FI[idx][fPickUp] = CreateDynamicPickup(1318,23,FI[idx][EnterX],FI[idx][EnterY],FI[idx][EnterZ]);
new str[128];
format(str,sizeof(str),"Ìíîãîêâàðòèðíûé äîì\nÍîìåð ïîäúåçäà %d",FI[idx][fID]);
CreateDynamic3DTextLabel(str,0x2a52beDD,FI[idx][EnterX],FI[idx][EnterY],FI[idx][EnterZ],10);
and have warning -
warning 213: tag mismatch in
FLOAT type. Why?
Re: warning 213: tag mismatch (Problem with Enum) -
Djole1337 - 04.02.2013
Car color is an integer btw.
Re: warning 213: tag mismatch (Problem with Enum) -
kamilot73 - 04.02.2013
Quote:
Originally Posted by Mr_DjolE
Car color is an integer btw.
|
CARC - Angle )