I have an idea
--PISTOLS RIFLES SMG AND SHOTGUNS (FOR PRIMMARY SLOT or SECONDARY IF PISTOL)
addgun(type,id,dmg,name,ammo1,ammo2,time,menu image,inhand image,drop image,price,sound)
	--[[	TYPE:
		1 - pistol
		2 - shotgun
		3 - smg
		4 - rifle
		5 - sniper rifle
		6 - machine gun
	]]--
--SPECIAL ITEM (action on click, SLOT 10 or other which aren't used)
addspecial(id,name,menu image,inhand image,drop image, price,once,[sound])
EXAMPLES:
addgun(6,150,5,"LSW L86",50,300,50,"gfx/wepons/l86_menu.bmp","gfx/wepons/l86_hand.bmp","gfx/wepons/l86_drop.bmp",5000,"sfx/weapons/l86.wav")
addspecial(151,"SpeedCola","gfx/items/cola_menu.bmp","gfx/items/cola_inhand.bmp","gfx/items/cola_drop.bmp",500,true,"sfx/items/cola.wav")
--For weapon/item delete we could use function
freeitem(id)
--id is id of wepon for examples above:
freeitem(150)
freeitem(151)
When one of arguments is incorrect or weapon with this id actualy exists, function addgun and addspecial return false. Deleting original cs2d weapons should be locked, so user could only use for example ids >100 and <200
This functions would add and delete custom weapons.
DC , what would you say? Do you like my idea?