Need a command help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need a command help (
/showthread.php?tid=633738)
Need a command help -
akib - 06.05.2017
How to make a command like
Код:
Syntex Error : /check [bank,inventory,stats]
using zcmd and sscanf
Re: Need a command help -
DTV - 06.05.2017
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
}