28.03.2012, 19:19
This code:
Is showing this error:
Any help will be appreciated.
Edit: I am actually trying to achieve a system which prevents me from comparing and sending the Unauthorized Error message multiple times.
pawn Код:
#define ACMD(%0,%1,%2,%3) \
YCMD:%0(%1,%2,help) \
if(PI[playerid][admin] < %3) return Error(%0, "You are not authorized to use that command")
ACMD(kick, playerid, params, CMD_KICK)
{
return 1;
}
pawn Код:
error 020: invalid symbol name "_YCMD_1"
error 010: invalid function or declaration
Edit: I am actually trying to achieve a system which prevents me from comparing and sending the Unauthorized Error message multiple times.