28.12.2009, 12:26
How can i change that if you type a command that i havent got for example /blabla
you get my own message insted of SERVER:Uknown Command
you get my own message insted of SERVER:Uknown Command
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// your command.
return 1;
}
// other commands.
return SendClientMessage(...); // your custom message.
}