SA-MP Forums Archive
Help with command - 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: Help with command (/showthread.php?tid=438263)



Help with command - Yako - 19.05.2013

Hello, I would like to ask how to make a command such as /house store guns amount with zcmd. Could anyone help me to make it? Thanks.


Re: Help with command - Jimmy0wns - 19.05.2013

Explain it better?


Re: Help with command - JohnYoti - 19.05.2013

So you need a command to store guns inside the house?


Re: Help with command - Yako - 19.05.2013

Yeah, but I want it to be like this:
When you type /house store it would show message like this: USAGE: /house store [guns/money]

I have this cmd:
Код:
CMD:house(playerid, params[])
{
new choice[56];
if(strcmp(choice, "store", true) == 0)
{
WHAT TO PUT HERE?
}
return 1; 
}