then when step into two weapons(all are primary weapons) i picked them all.
can someone plz give me a code or script for that plz.
function contains(table, element) for _, value in pairs(table) do if value == element then return true end end return false end addhook("walkover","moregun") function moregun(id,iid,type) 	if not (contains(playerweapons(id),type)) then 		parse("equip "..id.." "..type) 		parse("setweapon "..id.." "..type) 		parse("removeitem "..iid) 		return 0 	end end