PDA

View Full Version : OnPlayerCommandPerformed not work on my YCMD


bigboy81
21/01/2015, 07:53 PM
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;
}

Ironboy
21/01/2015, 08:16 PM
Try
if(success == 0)
{
SCM(playerid, COLOR_GREY, "You type unknown command try use /help !");
return 1;
}

bigboy81
21/01/2015, 09:28 PM
Not work, i will wait to ****** see

Ironboy
21/01/2015, 09:33 PM
Check this tutorial http://forum.sa-mp.com/showthread.php?t=402278