SA-MP Forums Archive
Unknown Command [HELP] - 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: Unknown Command [HELP] (/showthread.php?tid=287610)



Unknown Command [HELP] - Swizzzy - 04.10.2011

Well i was wondering on how to change the text when it displays "UNKNOWN CMD" ect.ect.

Assistance will be hugely appreciated.

Many Thanks,

Swizzzy



Re: Unknown Command [HELP] - Pharrel - 04.10.2011

if youre using ZCMD

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success)
        SendClientMessage(playerid,COLOR_RED, /*MESSAGE*/);
    return 1;
}
if youre using strcmd use else if in all commands and in the end type else return SendClientMessage...


Re: Unknown Command [HELP] - [GOD]Dragonster82 - 04.10.2011

But you forgot something, the colour is for him to choose :\