#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;
}
error 020: invalid symbol name "_YCMD_1"
error 010: invalid function or declaration
#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;
}
#define YCMD(%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;
}
#define ACMD(%0,%1,%2,%3) \
ACMD:%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;
}
|
lol this is your code
Код:
#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;
}
Код:
#define YCMD(%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;
}
Код:
#define ACMD(%0,%1,%2,%3) \
ACMD:%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;
}
|
>> https://sampforum.blast.hk/showthread.php?tid=169029
|
So try read this mate !! This might help you
>> https://sampforum.blast.hk/showthread.php?tid=169029 |
|
Well i cant give anymore ideas !! I think you should Contact ****** the YCMD Creator he might help you send him a pm !!
|