Custom unknow command message - 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: Custom unknow command message (
/showthread.php?tid=456547)
Custom unknow command message -
Sellize - 06.08.2013
How do I change the default unknown command message?
Re: Custom unknow command message -
tyler12 - 06.08.2013
What command processor are you using?
Re: Custom unknow command message -
Sellize - 06.08.2013
Quote:
Originally Posted by tyler12
What command processor?
|
ZCMD, sorry i forgot to mention
Re: Custom unknow command message -
Konstantinos - 06.08.2013
pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
if( !success )
{
SendClientMessage( playerid, 0xFF0000FF, "[ERROR]: That command does not exist." );
}
return 1;
}
Re: Custom unknow command message -
tyler12 - 06.08.2013
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!sucess) return some error;
return 1;
}
EDIT: Late; fuck 120 seconds wasted of my life.
Re: Custom unknow command message -
Sellize - 06.08.2013
Quote:
Originally Posted by tyler12
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!sucess) return some error; return 1; }
EDIT: Late; fuck 120 seconds wasted of my life.
|
You replied first on the thread ,so thanks to you