Advertisement
Guest User

Untitled

a guest
Dec 11th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.14 KB | None | 0 0
  1. local babtou_spawnmenu = {
  2. ["Constructions"] = { icon = "icon16/page.png",
  3. model = {
  4.  
  5. "models/props_phx/construct/metal_plate1.mdl",
  6. "models/props_phx/construct/metal_plate1x2.mdl",
  7. "models/props_phx/construct/metal_plate2x2.mdl",
  8. "models/props_phx/construct/metal_plate1_tri.mdl",
  9. "models/props_phx/construct/metal_plate2x2_tri.mdl",
  10. "models/props_phx/construct/metal_plate2x4_tri.mdl",
  11. "models/props_phx/construct/metal_plate4x4.mdl",
  12. "models/props_phx/construct/metal_plate4x4_tri.mdl",
  13. "models/props_phx/construct/metal_tube.mdl",
  14. "models/props_phx/construct/metal_tubex2.mdl",
  15. "models/props_phx/construct/glass/glass_plate2x2.mdl",
  16. "models/props_phx/construct/glass/glass_plate2x4.mdl",
  17. "models/props_phx/construct/glass/glass_plate4x4.mdl",
  18. "models/props_phx/construct/windows/window2x2.mdl",
  19. "models/props_phx/construct/windows/window1x2.mdl",
  20. "models/props_phx/construct/windows/window1x1.mdl",
  21. "models/hunter/plates/plate2x2.mdl",
  22. "models/hunter/plates/plate2x3.mdl",
  23. "models/hunter/plates/plate1x1.mdl",
  24. "models/hunter/plates/plate1x2.mdl",
  25. "models/hunter/plates/plate1x3.mdl",
  26. "models/hunter/plates/plate2x4.mdl",
  27. "models/hunter/blocks/cube05x05x05.mdl",
  28. "models/hunter/blocks/cube05x1x05.mdl",
  29. "models/hunter/blocks/cube05x105x05.mdl",
  30. "models/hunter/blocks/cube075x1x075.mdl",
  31. "models/hunter/blocks/cube075x2x1.mdl",
  32. "models/props_c17/fence01a.mdl",
  33. "models/props_c17/fence01b.mdl",
  34. "models/props_c17/fence02b.mdl",
  35. "models/props_c17/fence03a.mdl",
  36. "models/props_wasteland/exterior_fence_notbarbed002e.mdl",
  37. "models/props_borealis/mooring_cleat01.mdl",
  38. "models/props_trainstation/trainstation_clock001.mdl",
  39. "models/props_borealis/door_wheel001a.mdl",
  40. "models/props_wasteland/controlroom_filecabinet002a.mdl",
  41. "models/props_borealis/bluebarrel001.mdl",
  42. "models/props_wasteland/controlroom_storagecloset001a.mdl",
  43. "models/props_building_details/Storefront_Template001a_Bars.mdl",
  44. "models/props_wasteland/barricade001a.mdl",
  45. "models/props_c17/canister01a.mdl",
  46. "models/props_wasteland/kitchen_counter001b.mdl",
  47. "models/props_c17/canister02a.mdl",
  48. "models/props_wasteland/kitchen_counter001d.mdl",
  49. "models/props_c17/canister_propane01a.mdl",
  50. "models/props_wasteland/kitchen_shelf001a.mdl",
  51. "models/props_c17/bench01a.mdl",
  52. "models/props_wasteland/kitchen_stove001a.mdl",
  53. "models/props_c17/concrete_barrier001a.mdl",
  54. "models/props_wasteland/kitchen_shelf002a.mdl",
  55. "models/props_c17/display_cooler01a.mdl",
  56. "models/props_wasteland/laundry_dryer002.mdl",
  57. "models/props_c17/door01_left.mdl",
  58. "models/props_wasteland/laundry_dryer001.mdl",
  59. "models/props_c17/fence01a.mdl",
  60. "models/props_wasteland/prison_lamp001c.mdl",
  61. "models/props_c17/fence01b.mdl",
  62. "models/props_wasteland/barricade002a.mdl",
  63. "models/props_c17/fence02a.mdl",
  64. "models/props_trainstation/trashcan_indoor001a.mdl",
  65. "models/props_c17/fence03a.mdl",
  66. "models/props_trainstation/bench_indoor001a.mdl",
  67. "models/props_c17/fence04a.mdl",
  68. "models/props_junk/wood_crate001a_damaged.mdl",
  69. "models/props_c17/FurnitureBathtub001a.mdl",
  70. "models/props_junk/wood_crate002a.mdl",
  71. "models/props_c17/FurnitureBed001a.mdl",
  72. "models/props_junk/TrafficCone001a.mdl",
  73. "models/props_c17/FurnitureCouch001a.mdl",
  74. "models/props_junk/TrashDumpster01a.mdl",
  75. "models/props_c17/FurnitureCouch002a.mdl",
  76. "models/props_junk/TrashDumpster02.mdl",
  77. "models/props_c17/FurnitureDrawer001a.mdl",
  78. "models/props_junk/PushCart01a.mdl",
  79. "models/props_c17/FurnitureDrawer002a.mdl",
  80. "models/props_combine/breendesk.mdl",
  81. "models/props_c17/FurnitureFireplace001a.mdl",
  82. "models/props_c17/gravestone_coffinpiece001a.mdl",
  83. "models/props_c17/FurnitureFridge001a.mdl",
  84. "models/props_junk/PlasticCrate01a.mdl",
  85. "models/props_c17/FurnitureRadiator001a.mdl",
  86. "models/props_junk/PlasticCrate01a.mdl",
  87. "models/props_junk/PlasticCrate01a.mdl",
  88. "models/props_c17/furnitureStove001a.mdl",
  89. "models/props_c17/FurnitureTable003a.mdl",
  90. "models/props_c17/FurnitureTable002a.mdl",
  91. "models/props_c17/FurnitureSink001a.mdl",
  92. "models/props_interiors/VendingMachineSoda01a.mdl",
  93. "models/props_c17/FurnitureTable001a.mdl",
  94. "models/props_interiors/VendingMachineSoda01a_door.mdl",
  95. "models/props_c17/FurnitureWashingmachine001a.mdl",
  96. "models/props_wasteland/wood_fence01a.mdla",
  97. "models/props_wasteland/laundry_cart002.mdl",
  98. "models/props_lab/kennel_physics.mdl",
  99. "models/props_junk/ravenholmsign.mdl",
  100. "models/props_junk/wood_pallet001a.mdl",
  101. "models/props_c17/BriefCase001a.mdl",
  102. "models/Gibs/HGIBS_rib.mdl",
  103. "models/Gibs/HGIBS.mdl",
  104. "models/Gibs/HGIBS_spine.mdl",
  105. "models/props_c17/chair_stool01a.mdl",
  106. "models/props_lab/desklamp01.mdl",
  107. "models/props_lab/frame002a.mdl",
  108. "models/props_lab/citizenradio.mdl",
  109. "models/props_lab/workspace003.mdl",
  110. "models/props_lab/securitybank.mdl",
  111. "models/props_lab/monitor01a.mdl",
  112. "models/props_lab/monitor01b.mdl",
  113. "models/props_lab/workspace004.mdl",
  114. "models/props_lab/plotter.mdl",
  115. "models/props_c17/chair_kleiner03a.mdl",
  116. "models/props_trainstation/traincar_seats001.mdl",
  117. "models/props_junk/Wheebarrow01a.mdl",
  118. "models/props_c17/SuitCase_Passenger_Physics.mdl",
  119. "models/props_lab/workspace002.mdl",
  120. "models/Items/ammocrate_ar2.mdl",
  121. "models/env/furniture/wc_double_cupboard/wc_double_cupboard.mdl",
  122. "models/Items/item_item_crate.mdl",
  123. "models/props_wasteland/exterior_fence_notbarbed002d.mdl",
  124. "models/hunter/plates/plate3x4.mdl",
  125. "models/hunter/plates/plate3x5.mdl",
  126. "models/hunter/plates/plate3x6.mdl",
  127. "models/hunter/plates/plate3x7.mdl",
  128. "models/hunter/plates/plate3x8.mdl"
  129. },
  130. },
  131. ["Meubles"] = { icon = "icon16/page.png",
  132. model = {
  133. "models/furniturepack3/bedroom/bedroom_table_b.mdl",
  134. "models/furniturepack3/bedroom/drawer_a.mdl",
  135. "models/furniturepack3/bedroom/drawer_b.mdl",
  136. "models/furniturepack3/bedroom/drawer_c.mdl",
  137. "models/furniturepack3/bedroom/drawer_d.mdl",
  138. "models/furniturepack3/bedroom/drawer_e.mdl",
  139. "models/furniturepack3/bedroom/drawer_f.mdl",
  140. "models/furniturepack3/bedroom/drawer_g.mdl",
  141. "models/furniturepack3/bedroom/drawer_h.mdl",
  142. "models/furniturepack3/bedroom/drawer_i.mdl",
  143. "models/furniturepack3/bedroom/drawer_j.mdl",
  144. "models/furniturepack3/bedroom/drawer_k.mdl",
  145. "models/furniturepack3/bedroom/drawer_l.mdl",
  146. "models/furniturepack3/coffee_tables/coffeetable_a.mdl",
  147. "models/furniturepack3/coffee_tables/coffeetable_b.mdl",
  148. "models/furniturepack3/coffee_tables/coffeetable_c.mdl",
  149. "models/furniturepack3/coffee_tables/coffeetable_d.mdl",
  150. "models/furniturepack3/coffee_tables/coffeetable_e.mdl",
  151. "models/furniturepack3/coffee_tables/coffeetable_f.mdl",
  152. "models/furniturepack3/coffee_tables/coffeetable_g.mdl",
  153. "models/furniturepack3/coffee_tables/coffeetable_h.mdl",
  154. "models/furniturepack3/coffee_tables/coffeetable_i.mdl",
  155. "models/furniturepack3/coffee_tables/coffeetable_j.mdl",
  156. "models/furniturepack3/coffee_tables/coffeetable_k.mdl",
  157. "models/furniturepack3/coffee_tables/coffeetable_l.mdl",
  158. "models/furniturepack3/coffee_tables/coffeetable_m.mdl",
  159. "models/furniturepack3/coffee_tables/coffeetable_n.mdl",
  160. "models/furniturepack3/coffee_tables/coffeetable_o.mdl",
  161. "models/furniturepack3/desks/desk_a.mdl",
  162. "models/furniturepack3/desks/desk_b.mdl",
  163. "models/furniturepack3/desks/desk_c.mdl",
  164. "models/furniturepack3/desks/desk_d.mdl",
  165. "models/furniturepack3/desks/desk_e.mdl",
  166. "models/furniturepack3/desks/desk_f.mdl",
  167. "models/furniturepack3/desks/desk_h.mdl",
  168. "models/furniturepack3/desks/desk_i.mdl",
  169. "models/furniturepack3/desks/desk_j.mdl",
  170. "models/furniturepack3/desks/desk_k.mdl",
  171. "models/furniturepack3/desks/desk_l.mdl",
  172. "models/furniturepack3/desks/desk_m.mdl",
  173. "models/furniturepack3/desks/desk_n.mdl",
  174. "models/furniturepack3/desks/desk_o.mdl",
  175. "models/furniturepack3/desks/desk_p.mdl",
  176. "models/furniturepack3/desks/desk_r.mdl",
  177. "models/furniturepack3/desks/desk_s.mdl",
  178. "models/furniturepack3/desks/desk_t.mdl",
  179. "models/furniturepack3/desks/desk_u.mdl",
  180. "models/furniturepack3/desks/desk_v.mdl",
  181. "models/furniturepack3/livingroom/shelf_a.mdl",
  182. "models/furniturepack3/livingroom/shelf_b.mdl",
  183. "models/furniturepack3/livingroom/tvstand_a.mdl",
  184. "models/furniturepack3/livingroom/tvstand_b.mdl",
  185. "models/furniturepack3/livingroom/tvstand_c.mdl",
  186. "models/furniturepack3/livingroom/tvstand_d.mdl",
  187. "models/furniturepack3/livingroom/tvstand_e.mdl",
  188. "models/furniturepack3/livingroom/tvstand_f.mdl",
  189. "models/furniturepack3/livingroom/tvstand_g.mdl",
  190. "models/furniturepack3/livingroom/tvstand_h.mdl",
  191. "models/testmodels/coffee_table_long.mdl",
  192. "models/sunabouzu/theater_table.mdl",
  193. "models/props_interiors/desk_executive.mdl",
  194. "models/props_interiors/desk_metal.mdl",
  195. "models/props_interiors/dining_table_round.mdl",
  196. "models/sal/office/binder2.mdl",
  197. "models/sal/office/conftable3.mdl",
  198. "models/sal/office/officedesk.mdl",
  199. "models/sal/office/officedesk_clean4.mdl",
  200. "models/sal/office/officeshelf.mdl",
  201. "models/props_vtmb/chinacabinet.mdl",
  202. "models/props_vtmb/desk_executive.mdl",
  203. "models/props_vtmb/table_dining.mdl",
  204. "models/props_vtmb/steel_desk.mdl",
  205. "models/natalya/furniture/patio_table.mdl",
  206. "models/props/cs_havana/bookcase_small.mdl",
  207. "models/props/cs_havana/bookcase_large.mdl",
  208. "models/props/cs_italy/it_mkt_table2.mdl",
  209. "models/props/cs_italy/it_mkt_table1.mdl",
  210. "models/props/cs_italy/it_mkt_table3.mdl",
  211. "models/props/cs_militia/barstool01.mdl",
  212. "models/props/cs_militia/table_kitchen.mdl",
  213. "models/props/cs_militia/table_shed.mdl",
  214. "models/props/cs_office/bookshelf1.mdl",
  215. "models/props/cs_office/bookshelf2.mdl",
  216. "models/props/cs_office/bookshelf3.mdl",
  217. "models/props/cs_office/table_meeting.mdl",
  218. "models/props/de_tides/restaurant_table.mdl",
  219. "models/props/de_tides/patio_chair2.mdl",
  220. "models/props/de_tides/patio_chair.mdl",
  221. "models/props/de_tides/patio_table.mdl",
  222. "models/props/de_tides/patio_table2.mdl",
  223. "models/env/furniture/square_sink/sink_double.mdl",
  224. "models/env/furniture/square_sink/sink_merged_b.mdl",
  225. "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl",
  226. "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl",
  227. "models/env/furniture/ensuite1_toilet/ensuite1_toilet_b.mdl",
  228. "models/props_interiors/bed_motel.mdl",
  229. "models/props_interiors/side_table_square.mdl",
  230. "models/env/furniture/bed_secondclass/beddouble_group.mdl",
  231. "models/props_interiors/magazine_rack.mdl",
  232. "models/props_equipment/phone_booth.mdl",
  233. "models/props_interiors/shelvinggrocery01.mdl",
  234. "models/props_equipment/fountain_drinks.mdl",
  235. "models/scenery/structural/vesuvius/bartap.mdl",
  236. "models/props_downtown/pooltable.mdl",
  237. "models/props_furniture/cafe_barstool1.mdl",
  238. "models/props_downtown/booth01.mdl",
  239. "models/de_vegas/card_table.mdl",
  240. "models/props_downtown/booth_table.mdl",
  241. "models/props_downtown/booth02.mdl",
  242. "models/props_interiors/refrigerator03.mdl",
  243. "models/props_warehouse/table_01.mdl",
  244. "models/props_interiors/dinning_table_oval.mdl",
  245. "models/env/furniture/decosofa_wood/decosofa_wood_dou.mdl",
  246. "models/U4Lab/tv_monitor_plasma.mdl",
  247. "models/props_plants/plantairport01.mdl",
  248. "models/Highrise/potted_plant_05.mdl",
  249. "models/U4Lab/desk_office_a.mdl",
  250. "models/props_junk/trashcluster01a_corner.mdl",
  251. "models/props_interiors/corkboardverticle01.mdl",
  252. "models/props_industrial/warehouse_shelf002.mdl",
  253. "models/props_industrial/pallet_stack_docks.mdl",
  254. "models/props/cs_office/file_box.mdl",
  255. "models/props_combine/breenbust.mdl",
  256. "models/props/cs_office/paperbox_pile_01.mdl"
  257. },
  258. },
  259. ["Mobiliers"] = { icon = "icon16/page.png",
  260. model = {
  261. "models/furniturepack3/bathroom/shower_a.mdl",
  262. "models/furniturepack3/bathroom/sink_a.mdl",
  263. "models/furniturepack3/bathroom/sink_b.mdl",
  264. "models/furniturepack3/bathroom/toilet_a.mdl",
  265. "models/furniturepack3/bathroom/tub_a.mdl",
  266. "models/furniturepack3/bathroom/tub_b.mdl",
  267. "models/sunabouzu/soda_fountain.mdl",
  268. "models/sunabouzu/popcorn_machine.mdl",
  269. "models/sunabouzu/display_case02.mdl",
  270. "models/sunabouzu/display_case01.mdl",
  271. "models/sickness/hussman_02.mdl",
  272. "models/props_unique/grocerystorechiller01.mdl",
  273. "models/props_street/mail_dropbox.mdl",
  274. "models/props_interiors/toilet_b.mdl",
  275. "models/pg_props/pg_hospital/pg_optable.mdl",
  276. "models/pg_props/pg_hospital/pg_roll_table.mdl",
  277. "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl",
  278. "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl",
  279. "models/env/lighting/lamp_trumpet/lamp_trumpet_tall.mdl",
  280. "models/gmod_tower/suitetv.mdl"
  281. },
  282. },
  283.  
  284. ["SDF"] = { icon = "icon16/page.png",
  285.  
  286. model = {
  287.  
  288. "models/props_junk/garbage256_composite002b.mdl",
  289. "models/props_junk/garbage256_composite001b.mdl",
  290. "models/props_junk/cardboard_box001a.mdl",
  291. "models/props_junk/garbage_newspaper001a.mdl",
  292. "models/props_junk/garbage_plasticbottle001a.mdl",
  293. "models/props_junk/metalbucket01a.mdl",
  294. "models/props_junk/garbage_glassbottle003a.mdl",
  295. "models/props_equipment/sleeping_bag2.mdl",
  296. "models/props_equipment/sleeping_bag1.mdl",
  297. },
  298.  
  299. },
  300.  
  301. ["Police"] = { icon = "icon16/page.png",
  302.  
  303. model = {
  304.  
  305. "models/coldfusion/signs/diversionleft.mdl",
  306. "models/coldfusion/signs/exclamation.mdl",
  307. "models/coldfusion/signs/giveway.mdl",
  308. "models/coldfusion/signs/go.mdl",
  309. "models/coldfusion/signs/groundstand.mdl",
  310. "models/coldfusion/signs/leftturn.mdl",
  311. "models/coldfusion/signs/longpole.mdl",
  312. "models/coldfusion/signs/mediumpole.mdl",
  313. "models/coldfusion/signs/noleftturn.mdl",
  314. "models/coldfusion/signs/norightturn.mdl",
  315. "models/coldfusion/signs/nostopping.mdl",
  316. "models/coldfusion/signs/nothroughroad.mdl",
  317. "models/coldfusion/signs/nouturn.mdl",
  318. "models/coldfusion/signs/oneway.mdl",
  319. "models/coldfusion/signs/parking.mdl",
  320. "models/coldfusion/signs/pedestriancrossing.mdl",
  321. "models/coldfusion/signs/queueslikely.mdl",
  322. "models/coldfusion/signs/redlight.mdl",
  323. "models/coldfusion/signs/rightturn.mdl",
  324. "models/coldfusion/signs/roadclosed.mdl",
  325. "models/coldfusion/signs/roadworks.mdl",
  326. "models/coldfusion/signs/roadworkslarge.mdl",
  327. "models/coldfusion/signs/roundaboutanticlockwise.mdl",
  328. "models/coldfusion/signs/speedcamera.mdl",
  329. "models/props/cs_militia/haybale_target_02.mdl",
  330. "models/coldfusion/signs/stop.mdl"
  331. },
  332.  
  333. },
  334.  
  335. ["Lits | Fauteuils | Canapés"] = { icon = "icon16/page.png",
  336. model = {
  337. "models/furniturepack3/bedroom/full_bed_a.mdl",
  338. "models/furniturepack3/bedroom/full_bed_b.mdl",
  339. "models/furniturepack3/bedroom/full_bed_c.mdl",
  340. "models/furniturepack3/bedroom/full_bed_d.mdl",
  341. "models/furniturepack3/bedroom/full_bed_e.mdl",
  342. "models/furniturepack3/bedroom/full_bed_f.mdl",
  343. "models/furniturepack3/bedroom/full_bed_g.mdl",
  344. "models/furniturepack3/bedroom/full_bed_h.mdl",
  345. "models/furniturepack3/bedroom/full_bed_i.mdl",
  346. "models/furniturepack3/bedroom/full_bed_j.mdl",
  347. "models/furniturepack3/bedroom/full_bed_k.mdl",
  348. "models/furniturepack3/bedroom/full_bed_l.mdl",
  349. "models/furniturepack3/bedroom/full_bed_m.mdl",
  350. "models/furniturepack3/bedroom/full_bed_n.mdl",
  351. "models/furniturepack3/bedroom/twin_bed_a.mdl",
  352. "models/furniturepack3/bedroom/twin_bed_b.mdl",
  353. "models/furniturepack3/bedroom/twin_bed_c1.mdl",
  354. "models/furniturepack3/bedroom/twin_bed_l.mdl",
  355. "models/furniturepack3/couches/couch_a.mdl",
  356. "models/furniturepack3/couches/couch_b.mdl",
  357. "models/furniturepack3/couches/couch_c.mdl",
  358. "models/furniturepack3/couches/couch_d.mdl",
  359. "models/splayn/rp/lr/couch.mdl",
  360. "models/furniturepack3/bedroom/bed.mdl",
  361. "models/furniturepack3/bedroom/bed_b.mdl",
  362. "models/furniturepack3/bedroom/bed_c.mdl",
  363. "models/furniturepack3/bedroom/bed_d.mdl",
  364. "models/furniturepack3/bedroom/bed_e.mdl",
  365. "models/furniturepack3/bedroom/bedroom_table_a.mdl",
  366. "models/testmodels/sofa_single.mdl",
  367. "models/testmodels/sofa_double.mdl",
  368. "models/sunabouzu/theater_sofa01.mdl",
  369. "models/sunabouzu/lobby_chair.mdl",
  370. "models/splayn/rp/lr/chair.mdl",
  371. "models/furniturepack3/chairs/chair_a.mdl",
  372. "models/props_interiors/chairlobby01.mdl",
  373. "models/props_interiors/chairs_airport.mdl",
  374. "models/props_interiors/chair_thonet.mdl",
  375. "models/props_interiors/chair_office2.mdl",
  376. "models/sal/office/chair1.mdl",
  377. "models/sal/office/chair2.mdl",
  378. "models/sal/office/officechair5_2.mdl",
  379. "models/sal/office/lazychair.mdl",
  380. "models/props/cs_office/chair_office.mdl",
  381. "models/props/cs_office/sofa_chair.mdl",
  382. "models/props/cs_office/sofa.mdl",
  383. "models/env/furniture/bed_andrea/bed_andrea_1st.mdl",
  384. "models/mechanics/solid_steel/step_beam_16.mdl",
  385. "models/props_phx/construct/glass/glass_curve360x2.mdl",
  386. "models/props_interiors/water_cooler.mdl",
  387. "models/props_phx/construct/glass/glass_dome360.mdl",
  388. "models/props_vtmb/sofa.mdl",
  389. "models/props_phx/construct/windows/window_angle360.mdl",
  390. "models/props_vtmb/armchair.mdl",
  391. "models/props_interiors/sofa02.mdl",
  392. "models/props_phx/construct/wood/wood_curve360x2.mdl",
  393. "models/props_interiors/sofa01.mdl",
  394. "models/props_furniture/piano.mdl",
  395. "models/props_urban/plastic_chair001.mdl",
  396. "models/kokoro/starbucks_fooddisplay.mdl",
  397. "models/props_interiors/patio_chair2_white.mdl",
  398. "models/props/cs_militia/shelves_wood.mdl",
  399. "models/themask/sbmp/toys/darts/sm_dart_board_01.mdl",
  400. "models/props/cs_office/computer.mdl",
  401. "models/props_vtmb/hotelchair.mdl"
  402. },
  403. },
  404. }
  405. hook.Add("PopulateContent", "RoleplayProps", function(pnlContent, tree)
  406. local babtou = tree:AddNode("GangRP", "icon16/shield.png")
  407. babtou:ExpandTo(true)
  408. for k,v in pairs(babtou_spawnmenu) do
  409. local k = babtou:AddNode(k, v.icon)
  410. local ViewPanel = vgui.Create("ContentContainer", pnlContent)
  411. ViewPanel:SetVisible(false)
  412.  
  413. k.DoClick = function()
  414. ViewPanel:Clear(true)
  415. local mdlicon = spawnmenu.GetContentType("model")
  416. if mdlicon then
  417. for _,mdl in pairs(v.model) do
  418. mdlicon(ViewPanel, {model = mdl})
  419. end
  420. end
  421. pnlContent:SwitchPanel(ViewPanel)
  422. end
  423. end
  424. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement