Unknow Command
#1

I'm creating my first gamemode, and I don't know how to change the "Unknown Command" message. How can I do it?
Reply
#2

Change the 'return 0' and the bottom to something like
pawn Код:
return SendClientMessage(playerid, 0x000000AA, "Thats not a command idiot!");
Which is mine or leave blank in your case.
Reply
#3

could you please speak english here?...
that's an english forum and people that don't speak spanish or portugese or what this language is can't understand you.
Reply
#4

Just change return 0; at the end of the OnPlayerCommandText to return 1;

It may work i guess.
Reply
#5

Quote:
Originally Posted by Sascha
Посмотреть сообщение
could you please speak english here?...
that's an english forum and people that don't speak spanish or portugese or what this language is can't understand you.
You bumped a topic that is more than a year old! By the way, could you please check the date of the last post before posting some crap? If you were talking to me, please learn to read, because I already told I'm from Croatia and I don't know English well, but I've learned it over the year.
Reply
#6

Try this
onplayercommandtext. In the end of the whole OnPlayerCommandText there should be

pawn Код:
return 0;
replace it with this

pawn Код:
return SendClientMesage(playerid, 0xFF9900AA, "Command does not exist use /help");
}
Reply
#7

Haha, I posted this when I started to script. Belive me, I know this now. Look at the first post date.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)