Invalid Command
#1

Hey guys, I'm trying to create an invalid command return with ZCMD, but it's not working, I have no errors or warnings...

Am I supposed to add this into a new filterscript??

Код:
#include <a_samp>
#include <zcmd>

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success)
{
return SendClientMessage(playerid, -1, "Invalid command, use /cmds to view the general commands");
}
return 1;
}
NOTE: This is the ENTIRE code.
Reply


Messages In This Thread
Invalid Command - by Thresholdold - 30.11.2011, 16:05
Re: Invalid Command - by ElkaBlazer - 30.11.2011, 16:08
Re: Invalid Command - by Kostas' - 30.11.2011, 16:11
Re: Invalid Command - by [MG]Dimi - 30.11.2011, 16:12
Re: Invalid Command - by Thresholdold - 30.11.2011, 16:16
Re: Invalid Command - by Thresholdold - 30.11.2011, 16:51
Re: Invalid Command - by Thresholdold - 30.11.2011, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)