SERVER: Unknown command text? [SOLVED]
#1

Hello everyone!

I just wondering when I'm writing in a random command such as /dffewhfeuw it says "SERVER: Unknown command". Is it possible to change that to something else, if yes please give me a code or some information.

Thanks!
Reply
#2

I've tried this:
Quote:

Replaced "return 0;" with "return SendClientMessage(playerid, [color], "You're not harry potter to make your own commands");" didn't work.

(Sorry for double posting, forgot to edit the other comment before writing this one)
Reply
#3

If you use ZCMD,

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

Thank you so much, yeah I'm using zcmd.

Problem SOLVED.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)