SERVER: Unknown Command
#1

How can i change the SERVER: Unknown Command
every time
i will use a command that is Unknown to the server
Reply
#2

At the bottom of your OnPlayerCommandText callback, change the return 0 to return SendClientMessage...etc.
Reply
#3

If your using a linux host its because you didn't add the include. Or do what backwardsman said..
Reply
#4

If it's returning unknown everytime, make sure you have return 0 at the bottom of the OnPlayerCommandText's of all your loaded scripts.
Reply
#5

Replace this

pawn Код:
return 0;
With this:

pawn Код:
return SendClientMessage(playerid, COLOR_RED, "Error: Unknown Command - Use /Commands And /Teleports For More Info.");
And change the message to your liking.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)