Advertisement
Guest User

config.lua

a guest
Nov 19th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. --[[
  2. Clean Escape Menu
  3. Created by Chessnut (http://steamcommunity.com/profiles/76561198271623082)
  4. --]]
  5.  
  6. cleanEscape = cleanEscape or {}
  7.  
  8. --[[ Determines the buttons for the escape menu.
  9.  
  10. Each line should look like this:
  11. ["name here"] = action,
  12.  
  13. Types of actions:
  14. "close" - Closes the menu.
  15. "server: <ip>" - Connects to the specified IP.
  16.  
  17. All other actions will run as console commands.
  18. You can specify a list to have separate page. (use {})
  19.  
  20. You can see some useful examples below. Just remove the -- from the front of each line below.
  21. --]]
  22. cleanEscape.buttons = {
  23. {name = "Fermer", action = "return"},
  24. {name = "Les Règles", action = "http://steamcommunity.com/groups/labaguetterp/discussions/5/2579854400754596882/"},
  25. {name = "Recrutement", action = "http://steamcommunity.com/groups/labaguetterp/discussions/12/"},
  26. {name = "Nos serveurs", action = {
  27. {name = "PrisonRP", action = "connect 87.98.169.199:27120"},
  28. {name = "PUBG", action = "connect 51.255.119.156:27080"},
  29. {name = "SCP-RP", action = "connect 51.254.57.60:27210"},
  30. }},
  31.  
  32. {name = "Options", action = "game:openoptionsdialog"},
  33. {name = "Se déconnecter", action = "disconnect"},
  34. }
  35.  
  36. -- Determines the main color of the menu
  37. cleanEscape.color = Color(82, 179, 217)
  38.  
  39. -- The font used for menu text.
  40. cleanEscape.font = "Century Gothic"
  41.  
  42. -- The title of the game menu.
  43. -- This looks best when using caps.
  44. cleanEscape.name = "LaBaguetteRP"
  45.  
  46. -- Font creation stuff here, don't touch.
  47. do
  48. surface.CreateFont("ceTitleFont", {
  49. font = cleanEscape.font,
  50. size = 54,
  51. weight = 800
  52. })
  53.  
  54. surface.CreateFont("ceButtonFont", {
  55. font = cleanEscape.font,
  56. size = 36,
  57. weight = 500
  58. })
  59. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement