Posts: 51
Threads: 11
Joined: Dec 2013
Reputation:
0
Hello guys, I have a problem with my SA-MP Server Gamemode..
When i type any incorrect command it doesn't give me the default samp 'SERVER:Unknown Command' message.
and it doesn't do anything.
So, I need your help guys.
Thanks
-Biggy
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
What command processor do you use?
Posts: 218
Threads: 33
Joined: Dec 2013
Reputation:
0
Do you want a custom Message to be sent to the Player?
Posts: 51
Threads: 11
Joined: Dec 2013
Reputation:
0
I just want the server to send a message to the player when he/she enters a wrong/incorrect command.
Posts: 51
Threads: 11
Joined: Dec 2013
Reputation:
0
Alright, where to add this?
Posts: 443
Threads: 21
Joined: Jul 2013
Quote:
Originally Posted by AMouldyLemon
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) SendClientMessage(playerid, -1, "This command doesn't exist."); return 1; }
Like that?
|
Where is the return format in your code?I don't see it.