Unknow command
Moderator: Moderatori
- Exodus[888]
- Jauniņais
- Posts: 16
- Joined: 27 Oct 2011, 19:08
Unknow command
Kā lai nomaina "Unknow command" pret kaut ko citu??
Re: Unknow command
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!");
}