I looked at other ammo, Ammo_DesertEagle is still there and I can pick that up and the weapon, I can pick up a shotgun ok
Its going to be something simple but I'm not seeing it!
edit:
Nevermind sorted it, I didn't realise I needed to add the inventory item to the HumanPlayer.lua
the script for Bazooka seems to be wrong?
Line 179
Code: Select all
local c1 = world:new("ComponentModelT")
c1:set("Name", "Games/DeathMatch/Models/Weapons/Grenade/Grenade_w.cmdl")
in console:
Code: Select all
Player picked up item: Bazooka
Warning: Lua error in call to method Think():
Games/DeathMatch/Scripts/Rocket.lua:22: attempt to call global 'Vector3T' (a nil value)