-
Notifications
You must be signed in to change notification settings - Fork 38
/
config.lua
201 lines (193 loc) · 11.6 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
print("^2Jim^7-^2Chairs ^7v^41^7.^45 ^7- ^2Portable Chair Script by Jimathy^7")
-- Did I do a good job? Consider donating as this took me a long time to make for free.
-- If you need support I now have a discord available, it helps me keep track of issues and give better support.
-- https://discord.gg/xKgQZ6wZvS
Config = {
Debug = false, -- Enable this to help debug the script
JimShops = false, -- Set to true if using jim-shops
Core = "qb-core",
Inv = "qb",
Notify = "qb",
ExploitDistance = 1.2, -- Default '1.2'.
-- This is how close the person needs to be to the floor so they can use chairs
-- Standing/sitting on vehicles isn't classed as the ground so you may want to raise this to between 5-6
-- The higher the number, the more chance people have of exploiting no fall damage
MakeStores = true, -- Enable if you want built in stores and locations
Stores = {
{ label = "Dining Chair Store",
slots = 25,
items = {
{ name = "chair70", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "chair96", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "chair45", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "chair46", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "chair6", price = 0, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "chair68", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "chair67", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "chair103", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
{ name = "chair104", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
{ name = "chair102", price = 0, amount = 50, info = {}, type = "item", slot = 10, },
{ name = "chair22", price = 0, amount = 50, info = {}, type = "item", slot = 11, },
{ name = "chair23", price = 0, amount = 50, info = {}, type = "item", slot = 12, },
{ name = "chair44", price = 0, amount = 50, info = {}, type = "item", slot = 13, },
{ name = "chair7", price = 0, amount = 50, info = {}, type = "item", slot = 14, },
{ name = "chair15", price = 0, amount = 50, info = {}, type = "item", slot = 15, },
{ name = "chair9", price = 0, amount = 50, info = {}, type = "item", slot = 16, },
{ name = "chair16", price = 0, amount = 50, info = {}, type = "item", slot = 17, },
{ name = "chair18", price = 0, amount = 50, info = {}, type = "item", slot = 18, },
{ name = "chair19", price = 0, amount = 50, info = {}, type = "item", slot = 19, },
{ name = "chair48", price = 0, amount = 50, info = {}, type = "item", slot = 20, },
{ name = "chair49", price = 0, amount = 50, info = {}, type = "item", slot = 21, },
{ name = "chair69", price = 0, amount = 50, info = {}, type = "item", slot = 22, },
{ name = "chair37", price = 0, amount = 50, info = {}, type = "item", slot = 23, },
{ name = "chair105", price = 0, amount = 50, info = {}, type = "item", slot = 24, },
{ name = "chair110", price = 0, amount = 50, info = {}, type = "item", slot = 25, },
},
info = {
coords = vec4(2746.19, 3469.28, 55.67, 243.34),
showBlip = true,
ped = {
model = `S_M_Y_Construct_01`,
scenario = "WORLD_HUMAN_CLIPBOARD",
},
},
},
{ label = "House Chair Store",
slots = 36,
items = {
{ name = "chair71", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "chair107", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "chair84", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "chair1", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "chair2", price = 0, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "chair3", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "chair8", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "chair13", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
{ name = "chair14", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
{ name = "chair17", price = 0, amount = 50, info = {}, type = "item", slot = 10, },
{ name = "chair40", price = 0, amount = 50, info = {}, type = "item", slot = 11, },
{ name = "chair50", price = 0, amount = 50, info = {}, type = "item", slot = 12, },
{ name = "chair58", price = 0, amount = 50, info = {}, type = "item", slot = 13, },
{ name = "chair59", price = 0, amount = 50, info = {}, type = "item", slot = 14, },
{ name = "chair61", price = 0, amount = 50, info = {}, type = "item", slot = 15, },
{ name = "chair65", price = 0, amount = 50, info = {}, type = "item", slot = 16, },
{ name = "chair73", price = 0, amount = 50, info = {}, type = "item", slot = 17, },
{ name = "chair74", price = 0, amount = 50, info = {}, type = "item", slot = 18, },
{ name = "chair75", price = 0, amount = 50, info = {}, type = "item", slot = 19, },
{ name = "chair78", price = 0, amount = 50, info = {}, type = "item", slot = 20, },
{ name = "chair80", price = 0, amount = 50, info = {}, type = "item", slot = 21, },
{ name = "chair82", price = 0, amount = 50, info = {}, type = "item", slot = 22, },
{ name = "chair83", price = 0, amount = 50, info = {}, type = "item", slot = 23, },
{ name = "chair85", price = 0, amount = 50, info = {}, type = "item", slot = 24, },
{ name = "chair86", price = 0, amount = 50, info = {}, type = "item", slot = 25, },
{ name = "chair87", price = 0, amount = 50, info = {}, type = "item", slot = 26, },
{ name = "chair88", price = 0, amount = 50, info = {}, type = "item", slot = 27, },
{ name = "chair89", price = 0, amount = 50, info = {}, type = "item", slot = 28, },
{ name = "chair90", price = 0, amount = 50, info = {}, type = "item", slot = 29, },
{ name = "chair91", price = 0, amount = 50, info = {}, type = "item", slot = 30, },
{ name = "chair92", price = 0, amount = 50, info = {}, type = "item", slot = 31, },
{ name = "chair95", price = 0, amount = 50, info = {}, type = "item", slot = 32, },
{ name = "chair101", price = 0, amount = 50, info = {}, type = "item", slot = 33, },
{ name = "chair81", price = 0, amount = 50, info = {}, type = "item", slot = 34, },
{ name = "chair106", price = 0, amount = 50, info = {}, type = "item", slot = 35, },
{ name = "chair108", price = 0, amount = 50, info = {}, type = "item", slot = 36, },
},
info = {
coords = vec4(194.77, -1291.15, 29.32, 245.95),
showBlip = true,
ped = {
model = `S_M_Y_Construct_01`,
scenario = "WORLD_HUMAN_CLIPBOARD",
},
},
},
{ label = "Office Chair Store",
slots = 16,
items = {
{ name = "chair25", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "chair26", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "chair10", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "chair11", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "chair20", price = 0, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "chair27", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "chair28", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "chair29", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
{ name = "chair30", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
{ name = "chair31", price = 0, amount = 50, info = {}, type = "item", slot = 10, },
{ name = "chair32", price = 0, amount = 50, info = {}, type = "item", slot = 11, },
{ name = "chair33", price = 0, amount = 50, info = {}, type = "item", slot = 12, },
{ name = "chair34", price = 0, amount = 50, info = {}, type = "item", slot = 13, },
{ name = "chair35", price = 0, amount = 50, info = {}, type = "item", slot = 14, },
{ name = "chair36", price = 0, amount = 50, info = {}, type = "item", slot = 15, },
{ name = "chair60", price = 0, amount = 50, info = {}, type = "item", slot = 16, },
{ name = "chair76", price = 0, amount = 50, info = {}, type = "item", slot = 17, },
{ name = "chair77", price = 0, amount = 50, info = {}, type = "item", slot = 18, },
{ name = "chair79", price = 0, amount = 50, info = {}, type = "item", slot = 19, },
{ name = "chair93", price = 0, amount = 50, info = {}, type = "item", slot = 20, },
{ name = "chair94", price = 0, amount = 50, info = {}, type = "item", slot = 21, },
{ name = "chair98", price = 0, amount = 50, info = {}, type = "item", slot = 22, },
{ name = "chair99", price = 0, amount = 50, info = {}, type = "item", slot = 23, },
{ name = "chair100", price = 0, amount = 50, info = {}, type = "item", slot = 24, },
},
info = {
coords = vec4(-490.19, 28.06, 46.3, 172.08),
showBlip = true,
ped = {
model = `S_M_Y_Construct_01`,
scenario = "WORLD_HUMAN_CLIPBOARD",
},
},
},
{ label = "Outdoor Chair Store",
slots = 16,
items = {
{ name = "chair62", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "chair63", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "chair64", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "chair50", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "chair97", price = 0, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "chair21", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "chair39", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "chair66", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
{ name = "chair109", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
{ name = "chair41", price = 0, amount = 50, info = {}, type = "item", slot = 10, },
{ name = "chair42", price = 0, amount = 50, info = {}, type = "item", slot = 11, },
{ name = "chair43", price = 0, amount = 50, info = {}, type = "item", slot = 12, },
{ name = "chair47", price = 0, amount = 50, info = {}, type = "item", slot = 13, },
{ name = "chair51", price = 0, amount = 50, info = {}, type = "item", slot = 14, },
{ name = "chair53", price = 0, amount = 50, info = {}, type = "item", slot = 15, },
{ name = "chair72", price = 0, amount = 50, info = {}, type = "item", slot = 16, },
},
info = {
coords = vec4(-39.55, 6471.5, 31.5, 45.78),
showBlip = true,
ped = {
model = `S_M_Y_Construct_01`,
scenario = "WORLD_HUMAN_CLIPBOARD",
},
},
},
{ label = "Used Chair Store",
slots = 9,
items = {
{ name = "chair4", price = 0, amount = 50, info = {}, type = "item", slot = 1, },
{ name = "chair5", price = 0, amount = 50, info = {}, type = "item", slot = 2, },
{ name = "chair12", price = 0, amount = 50, info = {}, type = "item", slot = 3, },
{ name = "chair24", price = 0, amount = 50, info = {}, type = "item", slot = 4, },
{ name = "chair38", price = 0, amount = 50, info = {}, type = "item", slot = 5, },
{ name = "chair52", price = 0, amount = 50, info = {}, type = "item", slot = 6, },
{ name = "chair54", price = 0, amount = 50, info = {}, type = "item", slot = 7, },
{ name = "chair55", price = 0, amount = 50, info = {}, type = "item", slot = 8, },
{ name = "chair56", price = 0, amount = 50, info = {}, type = "item", slot = 9, },
},
info = {
coords = vec4(1540.47, 3703.03, 34.54, 11.25),
showBlip = true,
ped = {
model = `S_M_Y_Construct_01`,
scenario = "WORLD_HUMAN_CLIPBOARD",
},
},
},
}
}