Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local did_release=false
- hook.Add( "PreDrawHUD", "exclserver.mainmenu.open", function()
- if input.IsKeyDown(KEY_F3) and not did_release then
- did_release = true
- ES.CreateMainMenu()
- timer.Remove("esOpenMain")
- elseif not input.IsKeyDown(KEY_F3) then
- did_release = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement