SA-MP Forums Archive
help me please - 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: help me please (/showthread.php?tid=599248)



help me please - cOBRaSteell - 23.01.2016

When i can switch the "unknown command" when someone write wrong.
Sorry for my bad english.


Re: help me please - JamalMaddox - 23.01.2016

Lemme clear what he say:
For example when someone types an unknown command for example:
/hello
Server:Unknown Command
How can I replace the message.


Re: help me please - Rodri99 - 23.01.2016

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
	if(success == 0)
	{
        //text
	    return 1;
	}
	return 1;
}
+REP If you found your answer.


Re: help me please - cOBRaSteell - 23.01.2016

Resolved.Thank you.