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: command help (
/showthread.php?tid=500653)
command help -
UfsDev - 14.03.2014
Hello. When I Type Any Command Error But I Dont Get Message Like This " This Command Is Not Avaiable Type /Help"
When i type error cmd but when i look at chat there is nothing appear any help
![Cry](images/smilies/cry.gif)
i hope u understand
Re: command help -
ChristianIvann09 - 14.03.2014
Try this
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(CheckGMX(playerid)) return 1;
if(!success) SendClientMessage(playerid, COLOR_WHITE, "You have entered an invalid command. Please use {FFFFFF}/help {AFAFAF}or {01FCFF}/helpme {AFAFAF}for more information.");
return 1;
}