Is this possible with zcmd?
#1

hi there howdies!

I know its possible to make a custom "Unkown Command. pm an admin for help!"
for strcmp..
by

if(strcmp blablabla

//all commands here

else return SendClientMessage(playerid, COLOR_GREY, "unkwon command ERROR ERROR OVERFLOW BLEEEP");


is this also possible with zcmd?
Reply
#2

Yes, it is!
pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
    if ( !success )
    {
        SendClientMessage( playerid, COLOR_GREY, "unkwon command ERROR ERROR OVERFLOW BLEEEP" );
    }
    return 1;
}
Reply
#3

just add that public... thats all?
Reply
#4

U sir dwane, are my new best friend
lol:P

no seriously:P thanks for helping me with a lot of questions:P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)