error command
#1

how to make it so that it returns a message when you type a command that doesn't exsist?
in zcmd?

+ repping
Reply
#2

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, COLOR_WHITE, "That command does not exist. You can use /help to see a list of commands.");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)