unknown Commands Reply
#1

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
Reply
#2

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;

}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)