added new function AVD_fnc_getWeaponType.

1. parameter class name

returns
	"weapon" if it's a weapon
	"magazine" if it's a magazine
	"ammo" if it's ammo