I have an item system in a gamemode I’m working on. I want to pass variables from the weapon item’s (variables like Clip, ClipMax, ExtraRounds, Damage, Spread, etc) table -into- the actual weapon in the player’s hands. Each item is a table with a bunch of variables defining it ‘customization’. Each instance of an item can contain special info (so a player could have a weapon with a ClipMax (magazine size) of 30 bullets, but another player might have a weapon with 23 max bullets [for example]).
If a player equips a weapon item, I want these variables to transfer into the weapon in their hand.
I tried editing the item base to inherit data from this table but it just didn’t work out so well…
Any suggestions? I can provide more info if need be.