Need a command help
#1

How to make a command like
Код:
/check bank
Код:
Syntex Error : /check [bank,inventory,stats]
using zcmd and sscanf
Reply
#2

pawn Код:
new choice[10];
if(sscanf(params,"s[10]",choice)) return SendClientMessage(playerid,-1,"Syntex Error : /check [bank,inventory,stats]");
if(!strcmp(choice,"bank",true))
{
    //code here for checking bank
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)