DerpRP Inventory SWEP

How make this to save entities?
Inventory use “IN_DUCK” to save enteties.



function SWEP:SecondaryAttack()    RunConsoleCommand("");
end


Please help