SHOW:
|
|
- or go back to the newest paste.
1 | ------------------------------------------------------- | |
2 | -------------- SETTINGS AREA -------------------------- | |
3 | ------------------------------------------------------- | |
4 | ||
5 | surface.CreateFont( "ContextMenu_Title", { | |
6 | font = "Verdana", | |
7 | size = 20, | |
8 | weight = 500 | |
9 | } ) | |
10 | ||
11 | surface.CreateFont( "ContextMenu_Link", { | |
12 | font = "Verdana", | |
13 | size = 17, | |
14 | weight = 500 | |
15 | } ) | |
16 | ||
17 | surface.CreateFont( "ContextMenu_Default", { | |
18 | font = "Verdana", | |
19 | size = 15, | |
20 | weight = 500 | |
21 | } ) | |
22 | ||
23 | local S = { | |
24 | emotes = { | |
25 | columns = 3, | |
26 | rows = 3, | |
27 | }, | |
28 | colors = { | |
29 | bg = Color( 30, 30, 30, 230 ), | |
30 | border = Color( 30, 30, 30, 100 ), | |
31 | title = Color( 255, 255, 255, 255 ), | |
32 | }, | |
33 | margin = { | |
34 | top = 40, | |
35 | left = 10, | |
36 | }, | |
37 | emoteButton = { | |
38 | size = 40, | |
39 | margin = 4, | |
40 | }, | |
41 | linkButton = { | |
42 | padding = { | |
43 | top = 2, | |
44 | left = 5, | |
45 | }, | |
46 | margin = { | |
47 | top = 10, | |
48 | left = 10, | |
49 | }, | |
50 | color = Color( 240, 240, 240, 200 ), | |
51 | colorHover = Color( 255, 255, 255, 255 ), | |
52 | } | |
53 | } | |
54 | ||
55 | local SERVERS = {} | |
56 | SERVERS["Murder"] = "octothorp.team:27016" | |
57 | SERVERS["DarkRP"] = "octothorp.team:27016" | |
58 | SERVERS["Trouble in terrorist town"] = "octothorp.team:27016" | |
59 | SERVERS["Zombie"] = "octothorp.team:27016" | |
60 | SERVERS["Starwars"] = "octothorp.team:27016" | |
61 | ||
62 | local emotesIcons = { | |
63 | cheer = Material( "context_menu/cheer.png", "noclamp smooth" ), | |
64 | halt = Material( "context_menu/halt.png", "noclamp smooth" ), | |
65 | salute = Material( "context_menu/salute.png", "noclamp smooth" ), | |
66 | wave = Material( "context_menu/wave.png", "noclamp smooth" ) | |
67 | } | |
68 | ||
69 | local EMOTES = { | |
70 | { icon = emotesIcons.wave, emote = ACT_GMOD_GESTURE_BOW }, | |
71 | { icon = emotesIcons.cheer, emote = ACT_GMOD_TAUNT_MUSCLE }, | |
72 | { icon = emotesIcons.salute, emote = ACT_GMOD_GESTURE_BECON }, | |
73 | { icon = emotesIcons.cheer, emote = ACT_GMOD_TAUNT_PERSISTENCE }, | |
74 | { icon = emotesIcons.halt, emote = ACT_GMOD_GESTURE_DISAGREE }, | |
75 | { icon = emotesIcons.wave, emote = ACT_GMOD_GESTURE_AGREE }, | |
76 | { icon = emotesIcons.wave, emote = ACT_GMOD_GESTURE_WAVE }, | |
77 | { icon = emotesIcons.cheer, emote = ACT_GMOD_TAUNT_DANCE }, | |
78 | } | |
79 | ||
80 | ------------------------------------------------------- | |
81 | ------------------------------------------------------- | |
82 | ------------------------------------------------------- |