Unknow command
Posted: 03 Nov 2011, 21:32
Kā lai nomaina "Unknow command" pret kaut ko citu??
Code: Select all
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return SendClientMessage(playerid, GREY, "Nezināma komanda!");
}