Macro problem...
#1

I did created this function,

pawn Код:
#define CreateGate(%1,%2,%3,%4,%5,%6,%7,%8,%9,%10,%11,%12,%13) \
do{new %2 = CreateObject(%1, %3, %4, %5, %6, %7, %8); \
if(!strcmp(cmdtext,%12,true,strlen(%12))){ MoveObject(%2, %9, %10, %11, 5); return 1; } \
if(!strcmp(cmdtext,%13,true,strlen(%12))){ MoveObject(%2, %3, %4, %5, 5); return 1; }} while(FALSE)
but it don't works... Way ?
Reply
#2

Anyone know ?
Reply
#3

Look into pawn-lang.pdf, it says only support '%1' to '%9'
Idk how to fix...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)