#define Problem
#1

Got this code:
Code:
new fq=false;
#define SendError(%0,%1)\
do{new _str[128];format(_str,sizeof(_str)," ERROR: {FFFFFF}%1");SendClientMessage(%0,Error,_str);}while(fq)
Code:
SendError(playerid,"You are not allowed to ...");
works fine, but
Code:
if(!var[playerid])return SendError(playerid,"You are not allowed...");
doesnt work:
Code:
error 029: invalid expression, assumed zero
 warning 217: loose indentation
 error 036: empty statement
 warning 217: loose indentation
Reply


Messages In This Thread
#define Problem - by yellow - 25.01.2015, 17:30
Re: #define Problem - by zaibaslr2 - 25.01.2015, 17:43
AW: #define Problem - by yellow - 25.01.2015, 17:45
Re: #define Problem - by zaibaslr2 - 25.01.2015, 18:18
AW: #define Problem - by yellow - 25.01.2015, 18:26
Re: #define Problem - by zaibaslr2 - 25.01.2015, 18:32
AW: #define Problem - by yellow - 25.01.2015, 18:39
Re: #define Problem - by zaibaslr2 - 25.01.2015, 18:43
AW: #define Problem - by yellow - 25.01.2015, 18:49
Re: #define Problem - by zaibaslr2 - 25.01.2015, 18:52
Re: #define Problem - by PowerPC603 - 25.01.2015, 18:53
AW: #define Problem - by yellow - 25.01.2015, 18:55
Re: #define Problem - by zaibaslr2 - 25.01.2015, 18:59
AW: #define Problem - by yellow - 25.01.2015, 19:00

Forum Jump:


Users browsing this thread: 4 Guest(s)