1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function rp_drop(id,iid,type,ain,a,mode,x,y)
	if havebal[id]==true then
		parse("strip "..id.." "..type)
		parse("spawnitem "..type.." "..x.." "..y)
		havebal[id]=false
		return 1
	end
	for k, v in ipairs(Addons) do
		if v.FHave[id]==1 then
			if v.wpn == type then
				gmsg2(id,"255000000","You can't drop your weapon!")
				return 1
			end
		end
	end
end