15.03.2013, 13:43
When I create my command with DCMD the compiler write a error
The line with error:
My dcmd define:
Код:
error 035: argument type mismatch (argument 2)
Код:
dcmd(admins,5,cmdtext);
Код:
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1