Posts: 473
Threads: 86
Joined: Mar 2012
Reputation:
0
Hi
Can someone tell me how to make if player will type unknown command it will show him "Unknown command type /c for commands"
Posts: 200
Threads: 28
Joined: Jul 2012
Reputation:
0
public OnPlayerCommandText(playerid,cmdtext[])
{
//What ever you commands are go here
return 1;
//Return 0 returns the message
return SendClientMessage(playerid,-1,"{FF0000}Unknown command {FFFFFF}type /c for commands");
}
Posts: 473
Threads: 86
Joined: Mar 2012
Reputation:
0
i want if player will type unknown command it will send him the message: Unknown command type /c for commands"
Posts: 473
Threads: 86
Joined: Mar 2012
Reputation:
0
but how can I do that in zcmd