[MACRO] warning 213: tag mismatch
#1

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 ) ) 
Reply
#2

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> 
Reply
#3

Is my custom define not part of a Y project.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)