-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsv_propshit.lua
354 lines (345 loc) · 18.3 KB
/
sv_propshit.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
local blocked = {
["models/props_buildings/collapsedbuilding01a.mdl"] = true,
["models/props_buildings/collapsedbuilding01awall.mdl"] = true,
["models/props_buildings/collapsedbuilding02a.mdl"] = true,
["models/props_buildings/collapsedbuilding02b.mdl"] = true,
["models/props_buildings/collapsedbuilding02c.mdl"] = true,
["models/props_buildings/row_res_1_fullscale.mdl"] = true,
["models/props_buildings/row_res_2_ascend_fullscale.mdl"] = true,
["models/props_buildings/row_res_2_ascend.mdl"] = true,
["models/props_buildings/row_res_2.mdl"] = true,
["models/props_buildings/row_upscale.mdl"] = true,
["models/props_buildings/row_res_2_fullscale.mdl"] = true,
["models/props_buildings/short_building001a.mdl"] = true,
["models/props_urban/urban_skybuildings.mdl"] = true,
["models/props_buildings/project_building02.mdl"] = true,
["models/props_buildings/project_building01_skybox.mdl"] = true,
["models/props_buildings/project_building02_skybox.mdl"] = true,
["models/props_buildings/project_building03_skybox.mdl"] = true,
["models/props_buildings/project_destroyedbuildings01.mdl"] = true,
["models/props_buildings/project_destroyedbuildings01_skybox.mdl"] = true,
["models/props_buildings/project_destroyedbuildings03_skybox.mdl"] = true,
["models/props_buildings/project_destroyedbuildings04_skybox.mdl"] = true,
["models/props_buildings/row_church_fullscale.mdl"] = true,
["models/props_buildings/row_corner_1.mdl"] = true,
["models/props_buildings/row_corner_1_fullscale.mdl"] = true,
["models/props_buildings/row_corner_2.mdl"] = true,
["models/props_buildings/row_hill_cluster.mdl"] = true,
["models/props_buildings/row_industrial_cluster.mdl"] = true,
["models/props/de_nuke/containmentbuilding.mdl"] = true,
["models/xqm/jetenginelarge.mdl"] = true,
["models/xqm/jetbody2wingrootblarge.mdl"] = true,
["models/xqm/jetbody2large.mdl"] = true,
["models/xqm/jetbody2tailpiecelarge.mdl"] = true,
["models/xqm/jetbody2fuselagelarge.mdl"] = true,
["models/xqm/jetbody2cockpitlarge.mdl"] = true,
["models/props/cs_militia/tree_large_militia.mdl"] = true,
["models/props/de_inferno/tree_large.mdl"] = true,
["models/props_canal/locks_large_b.mdl"] = true,
["models/props_canal/locks_large.mdl"] = true,
["models/props_c17/smokestack02_large.mdl"] = true,
["models/mechanics/roboticslarge/k3.mdl"] = true,
["models/props/cs_italy/winerack_large.mdl"] = true,
["models/props_c17/playground_carousel01.mdl"] = true,
["models/props_c17/playground_jungle_gym01a.mdl"] = true,
["models/props_c17/playground_jungle_gym01b.mdl"] = true,
["models/props_c17/playground_swingset01.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_06_body.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_05_tailfan.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_04_cockpit.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_03.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_02.mdl"] = true,
["models/Gibs/helicopter_brokenpiece_01.mdl"] = true,
["models/props_combine/CombineThumper002.mdl"] = true,
["models/props_combine/CombineThumper001a.mdl"] = true,
["models/props_combine/combinetower001.mdl"] = true,
["models/mechanics/roboticslarge/claw_hub_8l.mdl"] = true,
["models/props_phx/trains/fsd-overrun.mdl"] = true,
["models/props_phx/trains/fsd-overrun2.mdl"] = true,
["models/XQM/coastertrain1seat.mdl"] = true,
["models/XQM/coastertrain2seat.mdl"] = true,
["models/XQM/coastertrain1.mdl"] = true,
["models/XQM/CoasterTrack/train_car_1.mdl"] = true,
["models/XQM/CoasterTrack/train_1.mdl"] = true,
["models/XQM/CoasterTrack/train_2.mdl"] = true,
["models/xqm/CoasterTrack/special_station.mdl"] = true,
["models/xqm/CoasterTrack/straight_1.mdl"] = true,
["models/xqm/CoasterTrack/straight_2.mdl"] = true,
["models/xqm/CoasterTrack/straight_3.mdl"] = true,
["models/xqm/CoasterTrack/straight_4.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_left_2.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_left_3.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_left_4.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_right_2.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_right_3.mdl"] = true,
["models/xqm/CoasterTrack/special_sturn_right_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_45_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_45_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_45_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_45_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_tight_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_tight_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_tight_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_90_tight_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_tight_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_tight_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_180_tight_4.mdl"] = true,
["models/xqm/CoasterTrack/special_full_loop_3.mdl"] = true,
["models/xqm/CoasterTrack/special_full_loop_4.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_left_1.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_left_2.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_left_3.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_left_4.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_right_1.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_right_2.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_right_3.mdl"] = true,
["models/xqm/CoasterTrack/bank_start_right_4.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_45_1.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_45_2.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_45_3.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_45_4.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_90_1.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_90_2.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_90_3.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_90_4.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_180_1.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_180_2.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_180_3.mdl"] = true,
["models/xqm/CoasterTrack/bank_turn_180_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_down_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_down_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_down_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_225_down_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_down_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_down_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_down_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_45_down_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_4.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_down_1.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_down_2.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_down_3.mdl"] = true,
["models/xqm/CoasterTrack/slope_90_down_4.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_left_1.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_left_2.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_left_3.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_left_4.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_right_1.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_right_2.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_right_3.mdl"] = true,
["models/xqm/CoasterTrack/special_full_corkscrew_right_4.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_left_1.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_left_2.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_left_3.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_left_4.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_right_1.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_right_2.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_right_3.mdl"] = true,
["models/xqm/CoasterTrack/special_half_corkscrew_right_4.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_2.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_3.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_4.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_full_2.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_full_3.mdl"] = true,
["models/xqm/CoasterTrack/special_helix_middle_full_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_45_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_45_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_45_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_45_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_90_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_90_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_90_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_90_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_180_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_180_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_180_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_180_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_45_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_45_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_45_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_45_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_90_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_90_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_90_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_90_4.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_180_1.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_180_2.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_180_3.mdl"] = true,
["models/xqm/CoasterTrack/turn_slope_down_180_4.mdl"] = true,
["models/xqm/Rails/loop_right.mdl"] = true,
["models/xqm/Rails/loop_left.mdl"] = true,
["models/props_phx/trains/tracks/track_16x.mdl"] = true,
["models/props_phx/trains/tracks/track_8x.mdl"] = true,
["models/props_phx/trains/tracks/track_4x.mdl"] = true,
["models/props_phx/trains/tracks/track_2x.mdl"] = true,
["models/props_phx/trains/tracks/track_1x.mdl"] = true,
["models/props_phx/trains/tracks/track_single.mdl"] = true,
["models/props_phx/trains/tracks/track_pass.mdl"] = true,
["models/props_phx/trains/tracks/track_crossing.mdl"] = true,
["models/props_phx/trains/tracks/track_225_down.mdl"] = true,
["models/props_phx/trains/tracks/track_45_down.mdl"] = true,
["models/props_phx/trains/tracks/track_225_up.mdl"] = true,
["models/props_phx/trains/tracks/track_45_up.mdl"] = true,
["models/props_phx/trains/tracks/track_x.mdl"] = true,
["models/props_phx/trains/tracks/track_switch.mdl"] = true,
["models/props_phx/trains/tracks/track_switch2.mdl"] = true,
["models/props_phx/trains/tracks/track_switcher.mdl"] = true,
["models/props_phx/trains/tracks/track_switcher2.mdl"] = true,
["models/props_phx/trains/tracks/track_turn45.mdl"] = true,
["models/props_phx/trains/tracks/track_turn90.mdl"] = true,
["models/props_phx/trains/track_32.mdl"] = true,
["models/props_phx/trains/track_64.mdl"] = true,
["models/props_phx/trains/track_128.mdl"] = true,
["models/props_phx/trains/track_256.mdl"] = true,
["models/props_phx/trains/track_512.mdl"] = true,
["models/props_phx/trains/track_1024.mdl"] = true,
["models/props_phx/trains/track_2048.mdl"] = true,
["models/props_phx/trains/track_4096.mdl"] = true,
["models/xqm/jetbody3.mdl"] = true,
["models/xqm/jetbody3_s2.mdl"] = true,
["models/xqm/jetbody3_s3.mdl"] = true,
["models/xqm/jetbody3_s4.mdl"] = true,
["models/xqm/jetbody3_s5.mdl"] = true,
["models/xqm/jetbody1.mdl"] = true,
["models/xqm/jetbody1medium.mdl"] = true,
["models/xqm/jetbody1big.mdl"] = true,
["models/xqm/jetbody1huge.mdl"] = true,
["models/xqm/jetbody2.mdl"] = true,
["models/xqm/jetbody2medium.mdl"] = true,
["models/xqm/jetbody2big.mdl"] = true,
["models/xqm/jetbody2huge.mdl"] = true,
["models/xqm/jetbody2large.mdl"] = true,
["models/xqm/jetbody2cockpit.mdl"] = true,
["models/xqm/jetbody2cockpitmedium.mdl"] = true,
["models/xqm/jetbody2cockpitbig.mdl"] = true,
["models/xqm/jetbody2cockpithuge.mdl"] = true,
["models/xqm/jetbody2cockpitlarge.mdl"] = true,
["models/xqm/jetbody2fuselage.mdl"] = true,
["models/xqm/jetbody2fuselagemedium.mdl"] = true,
["models/xqm/jetbody2fuselagebig.mdl"] = true,
["models/xqm/jetbody2fuselagehuge.mdl"] = true,
["models/xqm/jetbody2fuselagelarge.mdl"] = true,
["models/xqm/jetbody2tailpiece.mdl"] = true,
["models/xqm/jetbody2tailpiecemedium.mdl"] = true,
["models/xqm/jetbody2tailpiecebig.mdl"] = true,
["models/xqm/jetbody2tailpiecehuge.mdl"] = true,
["models/xqm/jetbody2tailpiecelarge.mdl"] = true,
["models/xqm/jetbody2wingrootb.mdl"] = true,
["models/xqm/jetbody2wingrootbmedium.mdl"] = true,
["models/xqm/jetbody2wingrootbbig.mdl"] = true,
["models/xqm/jetbody2wingrootbhuge.mdl"] = true,
["models/xqm/jetbody2wingrootblarge.mdl"] = true,
["models/xqm/jettailpiece1.mdl"] = true,
["models/xqm/jettailpiece1medium.mdl"] = true,
["models/xqm/jettailpiece1big.mdl"] = true,
["models/xqm/jettailpiece1huge.mdl"] = true,
["models/xqm/jettailpiece1large.mdl"] = true,
["models/xqm/wingtip1.mdl"] = true,
["models/xqm/wingpiece1.mdl"] = true,
["models/xqm/wingpiece2.mdl"] = true,
["models/xqm/wingpiece3.mdl"] = true,
["models/xqm/jetwing2.mdl"] = true,
["models/xqm/jetwing2medium.mdl"] = true,
["models/xqm/jetwing2big.mdl"] = true,
["models/xqm/jetwing2huge.mdl"] = true,
["models/xqm/jetwing2large.mdl"] = true,
["models/xqm/jetwing2sizable.mdl"] = true,
["models/xqm/jetenginepropellerlarge.mdl"] = true,
["models/xqm/jetenginepropellerhuge.mdl"] = true,
["models/props_phx/wheels/monster_truck.mdl"] = true,
["models/nateswheel/nateswheel.mdl"] = true,
["models/nateswheel/nateswheelwide.mdl"] = true,
["models/props_phx/wheels/trucktire2.mdl"] = true,
["models/xeon133/offroad/off-road-80.mdl"] = true,
["models/xeon133/offroad/off-road-70.mdl"] = true,
["models/xeon133/offroad/off-road-60.mdl"] = true,
["models/xeon133/offroad/off-road-50.mdl"] = true,
["models/xeon133/offroad/off-road-40.mdl"] = true,
["models/xeon133/offroad/off-road-30.mdl"] = true,
["models/xeon133/offroad/off-road-20.mdl"] = true,
["models/xeon133/racewheel/race-wheel-30.mdl"] = true,
["models/xeon133/racewheel/race-wheel-35.mdl"] = true,
["models/xeon133/racewheel/race-wheel-40.mdl"] = true,
["models/xeon133/racewheel/race-wheel-45.mdl"] = true,
["models/xeon133/racewheel/race-wheel-50.mdl"] = true,
["models/xeon133/racewheel/race-wheel-55.mdl"] = true,
["models/xeon133/racewheel/race-wheel-60.mdl"] = true,
["models/xeon133/racewheel/race-wheel-65.mdl"] = true,
["models/xeon133/racewheel/race-wheel-70.mdl"] = true,
["models/xeon133/racewheel/race-wheel-75.mdl"] = true,
["models/xeon133/racewheel/race-wheel-80.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-30_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-35_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-40_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-45_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-50_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-55_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-60_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-65_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-70_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-75_s.mdl"] = true,
["models/xeon133/racewheelskinny/race-wheel-80_s.mdl"] = true,
["models/balloons/hot_airballoon.mdl"] = true,
["models/balloons/hot_airballoon_basket.mdl"] = true,
["models/maxofs2d/construct_sign.mdl"] = true,
["models/props_wasteland/cargo_container01b.mdl"] = true,
["models/props_wasteland/cargo_container01c.mdl"] = true,
["models/props_wasteland/cargo_container01.mdl"] = true,
["models/props_junk/TrashDumpster02.mdl"] = true,
}
-- Necessary
local fuckers = {}
local max_warnings = 6
-- Ughh
local tbl_remove = table.remove
local tbl_insert = table.insert
-- Main
hook.Add("PlayerSpawnProp", "CPG_NoFuckers", function(ply, model)
if blocked[model] then
local interaction_table = fuckers[ply:SteamID64()]
if interaction_table then
if table.HasValue(interaction_table.models, model) then
interaction_table.warnings = interaction_table.warnings + 1
if fuckers[ply:SteamID64()].warnings >= max_warnings then
ply:Kick("You have been warned many times about placing these props, yet you still continued to place them!")
fuckers[ply:SteamID64()] = nil
end
else
tbl_insert(interaction_table.models,
{
models = {model},
warnings = 1,
}
)
end
if (max_warnings - interaction_table.warnings) ~= 0 then
DarkRP.notify(ply, 1, 4, "Do not place bad props!\nWarnings: " .. max_warnings - interaction_table.warnings .. " left.")
end
else
fuckers[ply:SteamID64()] = {
models = {model},
warnings = 1,
}
DarkRP.notify(ply, 1, 4, "Do not place bad props!\nThis is the first warning.")
end
return false
end
end)