01.04.2009, 09:22
No, in the OnPlayerCommandText just add the commands: (or use dcmd or whatever
)

pawn Код:
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xAA3333AA,"Test command"); // Do something here
return 1;
}
if (strcmp("/anothercmd", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}