15.05.2014, 11:52
pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
pawn Код:
dcmd(stats,5,cmdtext);
pawn Код:
dcmd_stats(playerid, params[])
{
#pragma unused params
//Codes Here
return true;
}