Just a question.
#1

I am using YCMD and I want to make if the player spell the command wrong I want it to add a SendClientMessage that the command is incorrect...

I haven't placed my commands under OnPlayerCommandText either since it's not needed...
Reply
#2

Use onplayercommandperformed sorry I can't post the code I'm in a mobile
Reply
#3

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) return SendClientMessage(playerid,R, "Unknown Command!");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)