SA-MP Forums Archive
unknown Commands Reply - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: unknown Commands Reply (/showthread.php?tid=665796)



unknown Commands Reply - BsLOUAY - 16.04.2019

hey evenryone

i need wrong command Script

For example when i type wrong command the Server Reply:

SERVER:UNKNOWN COMMAND

I want to change this

-when i type wrong command

Server replay will be like this

Wrong Command, type /cmds to know our commands list



Re: unknown Commands Reply - Melaama - 16.04.2019

Hi.. There you go

Code:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{

 if (!success) SendClientMessage(playerid, COLOR, "Wrong Command, type /cmds to know our commands list.");

 return 1;

}