06.05.2017, 15:32
How to make a command like
using zcmd and sscanf
Код:
/check bank
Код:
Syntex Error : /check [bank,inventory,stats]
/check bank
Syntex Error : /check [bank,inventory,stats]
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
}