28.12.2012, 13:16
Make sure these are inside the OnPlayerCommandText callback
that there's this on top of your script, under Include(s)
and you can show us these two commands?
pawn Код:
dcmd(login,5,cmdtext)
dcmd(register,8,cmdtext)
pawn Код:
#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

