OnPlayerCommandPerformed not work on my YCMD - 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: OnPlayerCommandPerformed not work on my YCMD (
/showthread.php?tid=559224)
OnPlayerCommandPerformed not work on my YCMD -
bigboy81 - 21.01.2015
public OnPlayerCommandPerformed not work in my YCMD system.
When i type unknown command server doesn't show you are type unknown command..
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) return 0;
SCM(playerid, COLOR_GREY, "You type unknown command try use /help !");
return 1;
}
Re: OnPlayerCommandPerformed not work on my YCMD -
Ironboy - 21.01.2015
Try
pawn Код:
if(success == 0)
{
SCM(playerid, COLOR_GREY, "You type unknown command try use /help !");
return 1;
}
Re: OnPlayerCommandPerformed not work on my YCMD -
bigboy81 - 21.01.2015
Not work, i will wait to ****** see
Re: OnPlayerCommandPerformed not work on my YCMD -
Ironboy - 21.01.2015
Check this tutorial
https://sampforum.blast.hk/showthread.php?tid=402278