SA-MP Forums Archive
Unknown command message change - 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: Unknown command message change (/showthread.php?tid=259396)



Unknown command message change - LZLo - 04.06.2011

How can i change the "Server: Unknown command." message with y_commands?


Re: Unknown command message change - xalith - 04.06.2011

hmm dont you change the return 0; at the bottom to return SendClientMe.....


Re: Unknown command message change - LZLo - 04.06.2011

i changed the return but it isn't works


Re: Unknown command message change - Famalamalam - 04.06.2011

Yeah instead of return 0 just return a message.

pawn Код:
return SendClientMessage(playerid, COLOR_, "That command was not recgonized.");



Re: Unknown command message change - LZLo - 04.06.2011

i changed the return but it isn't works
(if you meant after OnPlayerCommandText)


Re: Unknown command message change - xalith - 04.06.2011

maybe cause of y_commands?


Re: Unknown command message change - LZLo - 04.06.2011

genius...