I have a gun in my truck , my carry gun and a pistol and a shotgun next to my bed.
Do you keep them loaded or unloaded?
If your carry gun and pistol are designed to be carried loaded without a safety (Glock, double action revolver, etc) then there's no problem.
A loaded shotgun with the safety off next to the bed? I can't imagine any type of shotgun where that would be a good decision.