SA-MP Forums Archive
[MACRO] warning 213: 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: [MACRO] warning 213: tag mismatch (/showthread.php?tid=301257)



[MACRO] warning 213: tag mismatch - Night Dreamer - 03.12.2011

Dear samp scripters I have a problems with #define is give me a loot of error warning 213: tag mismatch
Is there something wrong in my code?

PHP код:
#define INI_Zek(%1,%2,%3) \
    
if(!strcmp((%1),name,true))return boolstr(value) ? BitFlag_GiveIt(%2, %3) : BitFlag_TakeIt(%2, %3
Please help me to find a better solution or anything else.

PS: BitFlag_GiveIt and BitFlag_TakeIt is:
PHP код:
#define BitFlag_GiveIt(%0,%1)        ( ( %0 ) |= ( %1 ) )
#define BitFlag_TakeIt(%0,%1)        ( ( %0 ) &= ~( %1 ) ) 



Re: [MACRO] warning 213: tag mismatch - English-Conceptz - 03.12.2011

try re-installing the latest version of YSI from here: https://sampforum.blast.hk/showthread.php?tid=61548

and then put it at the top as :

PHP код:
#include <YSI/y_Zek> 



Re: [MACRO] warning 213: tag mismatch - Night Dreamer - 03.12.2011

Is my custom define not part of a Y project.