Unknow Command - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Unknow Command (
/showthread.php?tid=70155)
Unknow Command -
Luka P. - 22.03.2009
I'm creating my first gamemode, and I don't know how to change the "Unknown Command" message. How can I do it?
Re: Unknow Command -
Metorea - 22.03.2009
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.
Re: Unknow Command -
Sascha - 04.10.2010
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.
Re: Unknow Command -
Bumbis - 05.10.2010
Just change return 0; at the end of the OnPlayerCommandText to return 1;
It may work i guess.
Re: Unknow Command -
Luka P. - 09.11.2010
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.
Re: Unknow Command -
HyperZ - 09.11.2010
Try this
onplayercommandtext. In the end of the whole OnPlayerCommandText there should be
replace it with this
pawn Код:
return SendClientMesage(playerid, 0xFF9900AA, "Command does not exist use /help");
}
Re: Unknow Command -
Luka P. - 09.11.2010
Haha, I posted this when I started to script. Belive me, I know this now. Look at the first post date.