30.11.2011, 16:05
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??
NOTE: This is the ENTIRE code.
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; }