Thread: Message Help
View Single Post
Author Message
Awesome_man
Senior Member
Join Date: May 2014
Location: singapore
Old 01-18-2017 , 03:49   Message Help
Reply With Quote #1

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
Awesome_man is offline