diff --git a/gamemodes/benny/gamemode/modules/player/sh_basic.lua b/gamemodes/benny/gamemode/modules/player/sh_basic.lua index 8880833..788c2a9 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_basic.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_basic.lua @@ -82,11 +82,13 @@ concommand.Add("benny_inv_discard", function( ply, cmd, args ) wep:SetClip2( 0 ) end if wep:bGetMagInvID( false ) == args[1] then + print( "Unloaded " .. args[1] .. " for " .. tostring(wep) ) inv[wep:bGetInvID( false )].Loaded = "" wep:SetWep1_Clip( "" ) wep:SetClip1( 0 ) end if wep:bGetMagInvID( true ) == args[1] then + print( "Unloaded " .. args[1] .. " for " .. tostring(wep) ) inv[wep:bGetInvID( true )].Loaded = "" wep:SetWep2_Clip( "" ) wep:SetClip2( 0 ) diff --git a/gamemodes/benny/gamemode/modules/player/sh_player.lua b/gamemodes/benny/gamemode/modules/player/sh_player.lua index 028c65a..6b65d70 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_player.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_player.lua @@ -139,7 +139,7 @@ end function PT:INV_Get() if !self.INV then - print( "Inventory created") + print( "Inventory created for " .. tostring(self) ) self.INV = {} end return self.INV