Warning: Tag mismatch - 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: Tag mismatch (
/showthread.php?tid=639433)
Warning: Tag mismatch -
Jastak - 17.08.2017
I have a warning that I do not know why the truth, according to my vision haha everything is fine, but surely there is something that escapes me try to help me please:
Код:
(784): warning 213: tag mismatch
(801): warning 213: tag mismatch
Код:
Textdwn [iD] [etParticle] [iDD] [epTime] [TD_ANIMATION_TYPE_POS] = (iDD * MAX_BASE_TIME_ANIMATION) * (- 1);
Textdwn [iD] [etTime] [TD_ANIMATION_TYPE_POS] = (2 * Textdwn [iD] [etAngleF]) / (velocity);
What you need to get the code:
Код:
new Textdwn [MAX_EVENTS_TDW] [eTxtdwn];
New txtParticleSub [MAX_EVENTS_TDW] [MAX_PARTICLE_FTDW] [eParticledwn];
#define Textdwn[%0][etParticle][%1][%2] txtParticleSub[%0][%1][%2]
Код:
enum TypeAnimations
{
ANIMATION_TYPE_POSPARENT,
ANIMATION_TYPE_POS,
ANIMATION_TYPE_COLOR,
ANIMATION_TYPE_SIZE
};
enum eParticledwn
{
// ...
Float: epTime [TypeAnimations],
// ...
};
enum eTxtdwn
{
// ...
Float: etTime [TypeAnimations],
// ...
};
The problem is this:
Код:
Textdwn [iD] ---> [etTime] [TD_ANIMATION_TYPE_POS] <--- = (2 * Textdwn [iD] [etAngleF]) / (velocity);
PS: I know what that warning is, but as I see my code there is no error, and that's why I want to help me maybe something is overlooked, something that maybe I do not know yet.