Code: 8046. VICE tested it and says you can enter it without finding the clue.
Where the code comes from
Not in the yard. Game Rant says it is on the map at the Saber Shipping Facility, another Guardia Brothers base, which lists the codes for all three of the gang’s hideouts.
Where the safe is
Dexerto places the yard in Little Cuba. Game Rant describes it as a large boat-loading yard by the river on the west side of Vice City. The safe and the pistol are both in the big northern warehouse.
Game Rant’s route goes in from the river. Sneak past the two guards watching the water and climb in through the open window at the back of the warehouse. The safe is in that first room, and a man inside has his back to you. You can also hop the fence where the barbed wire has been cut, or climb a bin onto a cabin roof in the corner.
Other key valuables
For The Guardian ES18 pistol, leave the office, turn left, then right at the end of the corridor into the main warehouse. It is in a weapon case on a table on your right.
The Dundreary Cherry Bomb Chino is a red lowrider convertible parked between the two warehouses near the exit gate. Game Rant says swim back round to the boat warehouse to reach it unseen. The gate is shut, but you can open it from the car by driving up to its switch.
There are drugs and cash on the tables across from the TV in the pistol’s warehouse.