This returns the weapon on a kill, for example "bow hunting" is a Hunting Bow, i have these in a table but it seems like Garry changes their name a lot, is a way to directly call the parsed weapon name instead of its prefab name? if not where can i find a list of these? (ItemList doesnt return these)Code:local weaponid1 = string.gsub(tostring(hitinfo.WeaponPrefab), ".weapon.prefab", "")
Thanks
Listing weapons?
Discussion in 'Rust Development' started by Rusty, Sep 4, 2015.
