SA-MP Forums Archive
"Unknown Command" doesn't show up IG no more? - 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" doesn't show up IG no more? (/showthread.php?tid=447639)



fixed - Nines - 30.06.2013

fixed


Re: "Unknown Command" doesn't show up IG no more? - RedFusion - 30.06.2013

Show the command


Re: "Unknown Command" doesn't show up IG no more? - Nines - 30.06.2013

What command? It was an example, like if I typed /etjwerwefjfjwefjweif (A cmd which isn't on my server) it should show "This Command Doesn't Exist Here" but it shows nothing.


Re: "Unknown Command" doesn't show up IG no more? - RedFusion - 30.06.2013

Do you use ZCMD, DCMD, YCMD or none at all?


Re: "Unknown Command" doesn't show up IG no more? - conor565 - 01.07.2013

If you're using ZCMD

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_NEWS, "Error: That command does not exist. Refer to /help for server commands.");
    return 1;
}



Re: "Unknown Command" doesn't show up IG no more? - Nines - 01.07.2013

fixed


Re: "Unknown Command" doesn't show up IG no more? - Nines - 01.07.2013

any1?


Re: "Unknown Command" doesn't show up IG no more? - conor565 - 01.07.2013

That's happening because your not using ZCMD, what command processor are you using.


Re: "Unknown Command" doesn't show up IG no more? - Nines - 01.07.2013

im not using zcmd or anything in this script.


Re: "Unknown Command" doesn't show up IG no more? - conor565 - 01.07.2013

Download ZCMD here: https://sampforum.blast.hk/showthread.php?tid=91354 At the top of your script in your includes put "#include <zcmd>" and then use the code I gave you. If you need to convert your other commands from strcmp to zcmd you can use this quick and easy fliterscript https://sampforum.blast.hk/showthread.php?tid=271043