So I have this bit of code a friend/dev gave me
for k, v in pairs( ents.FindByClass( "door" ) ) do
v:Fire("unlock")
end
All it does is take the doors of a map and unlock them. Useful for if you want to unlock doors for another gamemode.
The issue is I have 0 clue where the code goes and the friend is asleep but im trying to get this launched ASAP because we’re on a bit of a schedule. If anyone has any idea where the code could go please let me know.