Better prints
This commit is contained in:
parent
f044b4db68
commit
8c7ba7f5e9
|
@ -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 )
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue