22.08.2010, 04:42
dcmd seems fine...
#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
can you show us up your OnPlayerCommandText() ?
i couldn't find any incorrect native functions used or logical errors but you need to recheck it
and are you using another filterscripts? or gamemode?
#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
can you show us up your OnPlayerCommandText() ?
i couldn't find any incorrect native functions used or logical errors but you need to recheck it
and are you using another filterscripts? or gamemode?