Code:
case 1:
{
new arg[32]
new text[70]
read_args(text, sizeof(text) - 1);
remove_quotes(text);
parse(text, arg, sizeof(arg) - 1);
if(isdigit(arg[0]))
{
new amount = str_to_num(arg)
if (amount <= 0)
{
zp_colored_print(id, "^x04[ZP BANK] ^x01Successfully Deposited %d Ammo Packs In Bank",amount);
return PLUGIN_CONTINUE;
}
store_packs(id, amount);
return PLUGIN_HANDLED;
I made a menu for this plugin it's working fine except the manual amount to be deposited, How to do that using messagemod ? Thanks