OnPlayerCommandPerformed not work on my YCMD
#1

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;
}
Reply
#2

Try
pawn Код:
if(success == 0)
{
    SCM(playerid, COLOR_GREY, "You type unknown command try use /help !");
    return 1;
}
Reply
#3

Not work, i will wait to ****** see
Reply
#4

Check this tutorial https://sampforum.blast.hk/showthread.php?tid=402278
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)