04.05.2011, 14:09
If you are using the simple command system, Try to edit/remove this line:
This:
To:
This:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
else SendClientMessage(playerid, 0xFFFFFFFF, "LAWL, Invalid Command.");
return 1;
}

