SA-MP Forums Archive
How to remove - 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)
+--- Thread: How to remove (/showthread.php?tid=287594)



How to remove - Buzzbomb - 03.10.2011

How do i remove that stupid Unkown Command.. message the commands work but that damn thing keeps popping up I seen this topic before.. but i cant seem to find it


Re: How to remove - CoaPsyFactor - 03.10.2011

just put "return 1;" at end of OnPlayerCommandText


Re: How to remove - Buzzbomb - 03.10.2011

Yeah i already figured that out hehe thanks for responding..


Re: How to remove - grand.Theft.Otto - 03.10.2011

You can also add a message instead of returning nothing:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    // stuff here
    return SendClientMessage(playerid,-1,"Invalid Command.  Type /commands For A List Of Commands.");
}