Advertisement
tetratheta

[GMod] Fix Map Script example

Mar 31st, 2024 (edited)
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. -- lua/autorun/server/fixmap_luts_scape03.lua
  2. local function fixmap_luts_scape03()
  3.   if game.GetMap() == "scape03" then
  4.     local door = ents.FindByName("weapon_equip_ensure")[1]
  5.     door:Input("AddOutput", door, nil, "OnOpen wake_prisonguard,Trigger,,0,1")
  6.   end
  7. end
  8. hook.Add("InitPostEntity", "FixMap_LUTS_scape03", fixmap_luts_scape03)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement