18.01.2011, 16:04
Quote:
ZCMD is a command system for pawn.
Anyways, what do you exactly want? |
Anyways you can do it like this. (Or just try it - I'm not sure).
Where's your OnPlayerCommandText callback.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}