And also it would be helpfull if you take ammo that the gun increases with one single bullet.
Btw i need this for the pistol (glock)
Help would be nice
wpn = 2 function Array(size,value) local array = {} for i = 1, size do array[i]=value end return array end aammo = Array(32,0) function hudtext2(id,tid,color,txt,x,y) local toprint = ("©"..color.." "..txt) parse('hudtxt2 '..id..' '..tid..' "'..toprint..'" '..x.." "..y) end function ahud(id) 	hudtext2(id,1,"255255000","Additional Ammo = "..aammo[id],450,368) end function uhud(id,A,B) 	hudtext2(id,1,"255255000","Additional Ammo = "..(aammo[id]+A+B),450,368) end addhook("walkover","a") function a(id,iid,type,aa,am) 	if type == wpn then 		local A = aa 		local B = am 		uhud(id,A,B) 		aammo[id] = aammo[id]+A+B 		parse("removeitem "..iid) 		return 1 	end end 		 addhook("spawn","c") function c(id) 	aammo[id] = 0 	ahud(id) end addhook("attack","d") function d(id) 	if player(id,"weapontype") == wpn then 		if aammo[id] > 0 then 			aammo[id] = aammo[id] - 1 			parse("setweapon "..id.." "..wpn) 			parse("equip "..id.." "..wpn) 			uhud(id,-1,0) 		end 	end end