How to change zcmd SERVER: Unkown Command
#1

how to change zcmd SERVER: Unkown Command message
Reply
#2

Instead of returning 0 at the bottom of OnPlayerCommandText, try returning a SendClientMessage
Oh, and try searching before you post https://sampforum.blast.hk/showthread.php?tid=342567
Reply
#3

I ask for zcmd
Reply
#4

Sorry, I really should have read it more thoroughly, anyway try adding this under OnPlayerCommandPerformed:

pawn Код:
if(!success)
    {
        SendClientMessage(playerid, -1, "Unkown command message here");
    }
Just change the message and colour to whatever you want, and again, sorry
Reply
#5

Thanks worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)