Yoh Sambre ♪
Shaman Fou
- Messages
- 16 289
- Score réaction
- 9 688
- Points
- 1 845
Blacklist les props via fpp est tous aussi utile
FalkioGMR à dit:Bonsoir,
Du à certains trolleurs qui s'amusent à faire crash le serveur de temps à autre, je me demandais comment créer mes propres catégories de props et ajouter des props dedans et que tous les props que je n'ai inclu dans aucune catégorie soient impossibles à faire spawn.
Merci d'avance.
ui https://mtxserv.com/forums/threads/cadeaux-blacklist-des-props-sans-fpp.39127/#post-281151 pub pour @Yoh Sambre ♪Yoh Sambre ♪ à dit:Blacklist les props via fpp est tous aussi utile
Personne ne veux voir des catégories de typeFalkioGMR à dit:Non je veux vraiment créer mes propres catégories x)
C'est vrai que cette fonctionnalité est surtout utile en sandbox, MAIS il se peut que certains fondas fassent bien leurs catégories ("Barrière", "PLOTS", [...] )Yoh Sambre ♪ à dit:Personne ne veux voir des catégories de type
"Polices props"
"SDF props"
local babtou_spawnmenu = { ["Constructions"] = { icon = "icon16/page.png", model = {
"models/props_phx/construct/metal_plate1.mdl",
"models/props_phx/construct/metal_plate1x2.mdl",
"models/props_phx/construct/metal_plate2x2.mdl",
"models/props_phx/construct/metal_plate1_tri.mdl",
"models/props_phx/construct/metal_plate2x2_tri.mdl",
"models/props_phx/construct/metal_plate2x4_tri.mdl",
"models/props_phx/construct/metal_plate4x4.mdl",
"models/props_phx/construct/metal_plate4x4_tri.mdl",
"models/props_phx/construct/metal_tube.mdl",
"models/props_phx/construct/metal_tubex2.mdl",
"models/props_phx/construct/glass/glass_plate2x2.mdl",
"models/props_phx/construct/glass/glass_plate2x4.mdl",
"models/props_phx/construct/glass/glass_plate4x4.mdl",
"models/props_phx/construct/windows/window2x2.mdl",
"models/props_phx/construct/windows/window1x2.mdl",
"models/props_phx/construct/windows/window1x1.mdl",
"models/hunter/plates/plate2x2.mdl",
"models/hunter/plates/plate2x3.mdl",
"models/hunter/plates/plate1x1.mdl",
"models/hunter/plates/plate1x2.mdl",
"models/hunter/plates/plate1x3.mdl",
"models/hunter/plates/plate2x4.mdl",
"models/hunter/blocks/cube05x05x05.mdl",
"models/hunter/blocks/cube05x1x05.mdl",
"models/hunter/blocks/cube05x105x05.mdl",
"models/hunter/blocks/cube075x1x075.mdl",
"models/props_c17/fence01a.mdl",
"models/props_c17/fence01b.mdl",
"models/props_c17/fence02b.mdl",
"models/props_c17/fence03a.mdl",
"models/props_wasteland/exterior_fence_notbarbed002e.mdl",
"models/props_borealis/mooring_cleat01.mdl",
"models/props_trainstation/trainstation_clock001.mdl",
"models/props_borealis/door_wheel001a.mdl",
"models/props_wasteland/controlroom_filecabinet002a.mdl",
"models/props_borealis/bluebarrel001.mdl",
"models/props_wasteland/controlroom_storagecloset001a.mdl",
"models/props_building_details/Storefront_Template001a_Bars.mdl",
"models/props_wasteland/barricade001a.mdl",
"models/props_c17/canister01a.mdl",
"models/props_wasteland/kitchen_counter001b.mdl",
"models/props_c17/canister02a.mdl",
"models/props_wasteland/kitchen_counter001d.mdl",
"models/props_c17/canister_propane01a.mdl",
"models/props_wasteland/kitchen_shelf001a.mdl",
"models/props_c17/bench01a.mdl",
"models/props_wasteland/kitchen_stove001a.mdl",
"models/props_c17/concrete_barrier001a.mdl",
"models/props_wasteland/kitchen_shelf002a.mdl",
"models/props_c17/display_cooler01a.mdl",
"models/props_wasteland/laundry_dryer002.mdl",
"models/props_c17/door01_left.mdl",
"models/props_wasteland/laundry_dryer001.mdl",
"models/props_c17/fence01a.mdl",
"models/props_wasteland/prison_lamp001c.mdl",
"models/props_c17/fence01b.mdl",
"models/props_wasteland/barricade002a.mdl",
"models/props_c17/fence02a.mdl",
"models/props_trainstation/trashcan_indoor001a.mdl",
"models/props_c17/fence03a.mdl",
"models/props_trainstation/bench_indoor001a.mdl",
"models/props_c17/fence04a.mdl",
"models/props_junk/wood_crate001a_damaged.mdl",
"models/props_c17/FurnitureBathtub001a.mdl",
"models/props_junk/wood_crate002a.mdl",
"models/props_c17/FurnitureBed001a.mdl",
"models/props_junk/TrafficCone001a.mdl",
"models/props_c17/FurnitureCouch001a.mdl",
"models/props_junk/TrashDumpster01a.mdl",
"models/props_c17/FurnitureCouch002a.mdl",
"models/props_junk/TrashDumpster02.mdl",
"models/props_c17/FurnitureDrawer001a.mdl",
"models/props_junk/PushCart01a.mdl",
"models/props_c17/FurnitureDrawer002a.mdl",
"models/props_combine/breendesk.mdl",
"models/props_c17/FurnitureFireplace001a.mdl",
"models/props_c17/gravestone_coffinpiece001a.mdl",
"models/props_c17/FurnitureFridge001a.mdl",
"models/props_junk/PlasticCrate01a.mdl",
"models/props_c17/FurnitureRadiator001a.mdl",
"models/props_junk/PlasticCrate01a.mdl",
"models/props_junk/PlasticCrate01a.mdl",
"models/props_c17/furnitureStove001a.mdl",
"models/props_c17/FurnitureTable003a.mdl",
"models/props_c17/FurnitureTable002a.mdl",
"models/props_c17/FurnitureSink001a.mdl",
"models/props_interiors/VendingMachineSoda01a.mdl",
"models/props_c17/FurnitureTable001a.mdl",
"models/props_interiors/VendingMachineSoda01a_door.mdl",
"models/props_c17/FurnitureWashingmachine001a.mdl",
"models/props_wasteland/wood_fence01a.mdla",
"models/props_wasteland/laundry_cart002.mdl",
"models/props_lab/kennel_physics.mdl",
"models/props_junk/ravenholmsign.mdl",
"models/props_junk/wood_pallet001a.mdl",
"models/props_c17/BriefCase001a.mdl",
"models/Gibs/HGIBS_rib.mdl",
"models/Gibs/HGIBS.mdl",
"models/Gibs/HGIBS_spine.mdl",
"models/props_c17/chair_stool01a.mdl",
"models/props_lab/desklamp01.mdl",
"models/props_lab/frame002a.mdl",
"models/props_lab/citizenradio.mdl",
"models/props_lab/workspace003.mdl",
"models/props_lab/securitybank.mdl",
"models/props_lab/monitor01a.mdl",
"models/props_lab/monitor01b.mdl",
"models/props_lab/workspace004.mdl",
"models/props_lab/plotter.mdl",
"models/props_c17/chair_kleiner03a.mdl",
"models/props_trainstation/traincar_seats001.mdl",
"models/props_junk/Wheebarrow01a.mdl",
"models/props_c17/SuitCase_Passenger_Physics.mdl",
"models/props_lab/workspace002.mdl",
"models/Items/ammocrate_ar2.mdl",
"models/env/furniture/wc_double_cupboard/wc_double_cupboard.mdl",
"models/Items/item_item_crate.mdl", "models/props_wasteland/exterior_fence_notbarbed002d.mdl", "models/hunter/plates/plate3x4.mdl", "models/hunter/plates/plate3x5.mdl", "models/hunter/plates/plate3x6.mdl", "models/hunter/plates/plate3x7.mdl", "models/hunter/plates/plate3x8.mdl" }, }, ["Meubles"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bedroom/bedroom_table_b.mdl", "models/furniturepack3/bedroom/drawer_a.mdl", "models/furniturepack3/bedroom/drawer_b.mdl", "models/furniturepack3/bedroom/drawer_c.mdl", "models/furniturepack3/bedroom/drawer_d.mdl", "models/furniturepack3/bedroom/drawer_e.mdl", "models/furniturepack3/bedroom/drawer_f.mdl", "models/furniturepack3/bedroom/drawer_g.mdl", "models/furniturepack3/bedroom/drawer_h.mdl", "models/furniturepack3/bedroom/drawer_i.mdl", "models/furniturepack3/bedroom/drawer_j.mdl", "models/furniturepack3/bedroom/drawer_k.mdl", "models/furniturepack3/bedroom/drawer_l.mdl", "models/furniturepack3/coffee_tables/coffeetable_a.mdl", "models/furniturepack3/coffee_tables/coffeetable_b.mdl", "models/furniturepack3/coffee_tables/coffeetable_c.mdl", "models/furniturepack3/coffee_tables/coffeetable_d.mdl", "models/furniturepack3/coffee_tables/coffeetable_e.mdl", "models/furniturepack3/coffee_tables/coffeetable_f.mdl", "models/furniturepack3/coffee_tables/coffeetable_g.mdl", "models/furniturepack3/coffee_tables/coffeetable_h.mdl", "models/furniturepack3/coffee_tables/coffeetable_i.mdl", "models/furniturepack3/coffee_tables/coffeetable_j.mdl", "models/furniturepack3/coffee_tables/coffeetable_k.mdl", "models/furniturepack3/coffee_tables/coffeetable_l.mdl", "models/furniturepack3/coffee_tables/coffeetable_m.mdl", "models/furniturepack3/coffee_tables/coffeetable_n.mdl", "models/furniturepack3/coffee_tables/coffeetable_o.mdl", "models/furniturepack3/desks/desk_a.mdl", "models/furniturepack3/desks/desk_b.mdl", "models/furniturepack3/desks/desk_c.mdl", "models/furniturepack3/desks/desk_d.mdl", "models/furniturepack3/desks/desk_e.mdl", "models/furniturepack3/desks/desk_f.mdl", "models/furniturepack3/desks/desk_h.mdl", "models/furniturepack3/desks/desk_i.mdl", "models/furniturepack3/desks/desk_j.mdl", "models/furniturepack3/desks/desk_k.mdl", "models/furniturepack3/desks/desk_l.mdl", "models/furniturepack3/desks/desk_m.mdl", "models/furniturepack3/desks/desk_n.mdl", "models/furniturepack3/desks/desk_o.mdl", "models/furniturepack3/desks/desk_p.mdl", "models/furniturepack3/desks/desk_r.mdl", "models/furniturepack3/desks/desk_s.mdl", "models/furniturepack3/desks/desk_t.mdl", "models/furniturepack3/desks/desk_u.mdl", "models/furniturepack3/desks/desk_v.mdl", "models/furniturepack3/livingroom/shelf_a.mdl", "models/furniturepack3/livingroom/shelf_b.mdl", "models/furniturepack3/livingroom/tvstand_a.mdl", "models/furniturepack3/livingroom/tvstand_b.mdl", "models/furniturepack3/livingroom/tvstand_c.mdl", "models/furniturepack3/livingroom/tvstand_d.mdl", "models/furniturepack3/livingroom/tvstand_e.mdl", "models/furniturepack3/livingroom/tvstand_f.mdl", "models/furniturepack3/livingroom/tvstand_g.mdl", "models/furniturepack3/livingroom/tvstand_h.mdl", "models/testmodels/coffee_table_long.mdl", "models/sunabouzu/theater_table.mdl", "models/props_interiors/desk_executive.mdl", "models/props_interiors/desk_metal.mdl", "models/props_interiors/dining_table_round.mdl", "models/sal/office/binder2.mdl", "models/sal/office/conftable3.mdl", "models/sal/office/officedesk.mdl", "models/sal/office/officedesk_clean4.mdl", "models/sal/office/officeshelf.mdl", "models/props_vtmb/chinacabinet.mdl", "models/props_vtmb/desk_executive.mdl", "models/props_vtmb/table_dining.mdl", "models/props_vtmb/steel_desk.mdl", "models/natalya/furniture/patio_table.mdl", "models/props/cs_havana/bookcase_small.mdl", "models/props/cs_havana/bookcase_large.mdl", "models/props/cs_italy/it_mkt_table2.mdl", "models/props/cs_italy/it_mkt_table1.mdl", "models/props/cs_italy/it_mkt_table3.mdl", "models/props/cs_militia/barstool01.mdl", "models/props/cs_militia/table_kitchen.mdl", "models/props/cs_militia/table_shed.mdl", "models/props/cs_office/bookshelf1.mdl", "models/props/cs_office/bookshelf2.mdl", "models/props/cs_office/bookshelf3.mdl", "models/props/cs_office/table_meeting.mdl", "models/props/de_tides/restaurant_table.mdl", "models/props/de_tides/patio_chair2.mdl", "models/props/de_tides/patio_chair.mdl", "models/props/de_tides/patio_table.mdl", "models/props/de_tides/patio_table2.mdl", "models/env/furniture/square_sink/sink_double.mdl", "models/env/furniture/square_sink/sink_merged_b.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl", "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet_b.mdl", "models/props_interiors/bed_motel.mdl", "models/props_interiors/side_table_square.mdl", "models/env/furniture/bed_secondclass/beddouble_group.mdl", "models/props_interiors/magazine_rack.mdl", "models/props_equipment/phone_booth.mdl", "models/props_interiors/shelvinggrocery01.mdl", "models/props_equipment/fountain_drinks.mdl", "models/scenery/structural/vesuvius/bartap.mdl", "models/props_downtown/pooltable.mdl", "models/props_furniture/cafe_barstool1.mdl", "models/props_downtown/booth01.mdl", "models/de_vegas/card_table.mdl", "models/props_downtown/booth_table.mdl", "models/props_downtown/booth02.mdl", "models/props_interiors/refrigerator03.mdl", "models/props_warehouse/table_01.mdl", "models/props_interiors/dinning_table_oval.mdl", "models/env/furniture/decosofa_wood/decosofa_wood_dou.mdl", "models/U4Lab/tv_monitor_plasma.mdl", "models/props_plants/plantairport01.mdl", "models/Highrise/potted_plant_05.mdl", "models/U4Lab/desk_office_a.mdl", "models/props_junk/trashcluster01a_corner.mdl", "models/props_interiors/corkboardverticle01.mdl", "models/props_industrial/warehouse_shelf002.mdl", "models/props_industrial/pallet_stack_docks.mdl", "models/props/cs_office/file_box.mdl", "models/props_combine/breenbust.mdl", "models/props/cs_office/paperbox_pile_01.mdl" }, }, ["Mobiliers"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bathroom/shower_a.mdl", "models/furniturepack3/bathroom/sink_a.mdl", "models/furniturepack3/bathroom/sink_b.mdl", "models/furniturepack3/bathroom/toilet_a.mdl", "models/furniturepack3/bathroom/tub_a.mdl", "models/furniturepack3/bathroom/tub_b.mdl", "models/sunabouzu/soda_fountain.mdl", "models/sunabouzu/popcorn_machine.mdl", "models/sunabouzu/display_case02.mdl", "models/sunabouzu/display_case01.mdl", "models/sickness/hussman_02.mdl", "models/props_unique/grocerystorechiller01.mdl", "models/props_street/mail_dropbox.mdl", "models/props_interiors/toilet_b.mdl", "models/pg_props/pg_hospital/pg_optable.mdl", "models/pg_props/pg_hospital/pg_roll_table.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl", "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl", "models/env/lighting/lamp_trumpet/lamp_trumpet_tall.mdl", "models/gmod_tower/suitetv.mdl" }, }, ["SDF"] = { icon = "icon16/page.png", model = { "models/props_junk/garbage256_composite002b.mdl", "models/props_junk/garbage256_composite001b.mdl", "models/props_junk/cardboard_box001a.mdl", "models/props_junk/garbage_newspaper001a.mdl", "models/props_junk/garbage_plasticbottle001a.mdl", "models/props_junk/metalbucket01a.mdl", "models/props_junk/garbage_glassbottle003a.mdl", "models/props_equipment/sleeping_bag2.mdl", "models/props_equipment/sleeping_bag1.mdl", "models/w_models/weapons/w_pumpshotgun_a.mdl", "models/w_models/weapons/w_desert_eagle.mdl", "models/w_models/weapons/w_pistol_a.mdl", "models/w_models/weapons/w_desert_rifle.mdl", "models/w_models/weapons/w_pumpshotgun_a.mdl", "models/w_models/weapons/w_rifle_b.mdl", "models/w_models/weapons/w_rifle_ak47.mdl", "models/w_models/weapons/w_rifle_m16a2.mdl", "models/w_models/weapons/w_rifle_sg552.mdl", "models/w_models/weapons/w_sniper_mini14.mdl", "models/w_models/weapons/w_sniper_scout.mdl", "models/w_models/weapons/w_shotgun.mdl", "models/testmodels/macbook_pro.mdl", "models/testmodels/apple_display.mdl" }, }, ["Autres"] = { icon = "icon16/page.png", model = { "models/codeandmodeling_babtou_rp_props/azok30_codeandmodeling_babtou_rp_props.mdl" }, }, ["Police"] = { icon = "icon16/page.png", model = { "models/coldfusion/signs/diversionleft.mdl", "models/coldfusion/signs/exclamation.mdl", "models/coldfusion/signs/giveway.mdl", "models/coldfusion/signs/go.mdl", "models/coldfusion/signs/groundstand.mdl", "models/coldfusion/signs/leftturn.mdl", "models/coldfusion/signs/longpole.mdl", "models/coldfusion/signs/mediumpole.mdl", "models/coldfusion/signs/noleftturn.mdl", "models/coldfusion/signs/norightturn.mdl", "models/coldfusion/signs/nostopping.mdl", "models/coldfusion/signs/nothroughroad.mdl", "models/coldfusion/signs/nouturn.mdl", "models/coldfusion/signs/oneway.mdl", "models/coldfusion/signs/parking.mdl", "models/coldfusion/signs/pedestriancrossing.mdl", "models/coldfusion/signs/queueslikely.mdl", "models/coldfusion/signs/redlight.mdl", "models/coldfusion/signs/rightturn.mdl", "models/coldfusion/signs/roadclosed.mdl", "models/coldfusion/signs/roadworks.mdl", "models/coldfusion/signs/roadworkslarge.mdl", "models/coldfusion/signs/roundaboutanticlockwise.mdl", "models/coldfusion/signs/speedcamera.mdl", "models/props/cs_militia/haybale_target_02.mdl", "models/coldfusion/signs/stop.mdl" }, }, ["Lits | Fauteuils | Canapés"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bedroom/full_bed_a.mdl", "models/furniturepack3/bedroom/full_bed_b.mdl", "models/furniturepack3/bedroom/full_bed_c.mdl", "models/furniturepack3/bedroom/full_bed_d.mdl", "models/furniturepack3/bedroom/full_bed_e.mdl", "models/furniturepack3/bedroom/full_bed_f.mdl", "models/furniturepack3/bedroom/full_bed_g.mdl", "models/furniturepack3/bedroom/full_bed_h.mdl", "models/furniturepack3/bedroom/full_bed_i.mdl", "models/furniturepack3/bedroom/full_bed_j.mdl", "models/furniturepack3/bedroom/full_bed_k.mdl", "models/furniturepack3/bedroom/full_bed_l.mdl", "models/furniturepack3/bedroom/full_bed_m.mdl", "models/furniturepack3/bedroom/full_bed_n.mdl", "models/furniturepack3/bedroom/twin_bed_a.mdl", "models/furniturepack3/bedroom/twin_bed_b.mdl", "models/furniturepack3/bedroom/twin_bed_c1.mdl", "models/furniturepack3/bedroom/twin_bed_l.mdl", "models/furniturepack3/couches/couch_a.mdl", "models/furniturepack3/couches/couch_b.mdl", "models/furniturepack3/couches/couch_c.mdl", "models/furniturepack3/couches/couch_d.mdl", "models/splayn/rp/lr/couch.mdl", "models/furniturepack3/bedroom/bed.mdl", "models/furniturepack3/bedroom/bed_b.mdl", "models/furniturepack3/bedroom/bed_c.mdl", "models/furniturepack3/bedroom/bed_d.mdl", "models/furniturepack3/bedroom/bed_e.mdl", "models/furniturepack3/bedroom/bedroom_table_a.mdl", "models/testmodels/sofa_single.mdl", "models/testmodels/sofa_double.mdl", "models/sunabouzu/theater_sofa01.mdl", "models/sunabouzu/lobby_chair.mdl", "models/splayn/rp/lr/chair.mdl", "models/furniturepack3/chairs/chair_a.mdl", "models/props_interiors/chairlobby01.mdl", "models/props_interiors/chairs_airport.mdl", "models/props_interiors/chair_thonet.mdl", "models/props_interiors/chair_office2.mdl", "models/sal/office/chair1.mdl", "models/sal/office/chair2.mdl", "models/sal/office/officechair5_2.mdl", "models/sal/office/lazychair.mdl", "models/props/cs_office/chair_office.mdl", "models/props/cs_office/sofa_chair.mdl", "models/props/cs_office/sofa.mdl", "models/env/furniture/bed_andrea/bed_andrea_1st.mdl", "models/mechanics/solid_steel/step_beam_16.mdl", "models/props_phx/construct/glass/glass_curve360x2.mdl", "models/props_interiors/water_cooler.mdl", "models/props_phx/construct/glass/glass_dome360.mdl", "models/props_vtmb/sofa.mdl", "models/props_phx/construct/windows/window_angle360.mdl", "models/props_vtmb/armchair.mdl", "models/props_interiors/sofa02.mdl", "models/props_phx/construct/wood/wood_curve360x2.mdl", "models/props_interiors/sofa01.mdl", "models/props_furniture/piano.mdl", "models/props_urban/plastic_chair001.mdl", "models/kokoro/starbucks_fooddisplay.mdl", "models/props_interiors/patio_chair2_white.mdl", "models/props/cs_militia/shelves_wood.mdl", "models/themask/sbmp/toys/darts/sm_dart_board_01.mdl", "models/props/cs_office/computer.mdl", "models/props_vtmb/hotelchair.mdl" }, },
}
hook.Add("PopulateContent", "RoleplayProps", function(pnlContent, tree) local babtou = tree:AddNode("Babtou Props", "icon16/shield.png") babtou:ExpandTo(true) for k,v in pairs(babtou_spawnmenu) do local k = babtou:AddNode(k, v.icon) local ViewPanel = vgui.Create("ContentContainer", pnlContent) ViewPanel:SetVisible(false) k.DoClick = function() ViewPanel:Clear(true) local mdlicon = spawnmenu.GetContentType("model") if mdlicon then for _,mdl in pairs(v.model) do mdlicon(ViewPanel, {model = mdl}) end end pnlContent:SwitchPanel(ViewPanel) end end
end)
Absolument pas , go utilisez ceciFlecheMaen à dit:Pour enlever celle de base
Garrysmod/settings/spawnlist/default[/USER]
hook.Add("PostGamemodeLoaded", "FuckedClientSpawnList", function()
GAMEMODE.PopulatePropMenu = function() end
end)
Oui je confirme c'est bien cela, je l'avais utilisé sur mon serveurYoh Sambre ♪ à dit:Absolument pas , go utilisez ceci
Code:hook.Add("PostGamemodeLoaded", "FuckedClientSpawnList", function() GAMEMODE.PopulatePropMenu = function() end end)
Pour enlever la liste des props oui, mais pour en créer nonYoh Sambre ♪ à dit:Absolument pas , go utilisez ceci
Code:hook.Add("PostGamemodeLoaded", "FuckedClientSpawnList", function() GAMEMODE.PopulatePropMenu = function() end end)
Ensuite tu n'as qu'à créer les catégories une fois avoir tout supprimé.estebandu44 à dit:Pour enlever la liste des props oui, mais pour en créer non
Effectivement, comme ceci :Taink à dit:Ensuite tu n'as qu'à créer les catégories une fois avoir tout supprimé.
^^FlecheMaen à dit:lua/autorun/client
Tu crée un fichier.lua
Pour enlever celle de baseCode:local babtou_spawnmenu = { ["Constructions"] = { icon = "icon16/page.png", model = { "models/props_phx/construct/metal_plate1.mdl", "models/props_phx/construct/metal_plate1x2.mdl", "models/props_phx/construct/metal_plate2x2.mdl", "models/props_phx/construct/metal_plate1_tri.mdl", "models/props_phx/construct/metal_plate2x2_tri.mdl", "models/props_phx/construct/metal_plate2x4_tri.mdl", "models/props_phx/construct/metal_plate4x4.mdl", "models/props_phx/construct/metal_plate4x4_tri.mdl", "models/props_phx/construct/metal_tube.mdl", "models/props_phx/construct/metal_tubex2.mdl", "models/props_phx/construct/glass/glass_plate2x2.mdl", "models/props_phx/construct/glass/glass_plate2x4.mdl", "models/props_phx/construct/glass/glass_plate4x4.mdl", "models/props_phx/construct/windows/window2x2.mdl", "models/props_phx/construct/windows/window1x2.mdl", "models/props_phx/construct/windows/window1x1.mdl", "models/hunter/plates/plate2x2.mdl", "models/hunter/plates/plate2x3.mdl", "models/hunter/plates/plate1x1.mdl", "models/hunter/plates/plate1x2.mdl", "models/hunter/plates/plate1x3.mdl", "models/hunter/plates/plate2x4.mdl", "models/hunter/blocks/cube05x05x05.mdl", "models/hunter/blocks/cube05x1x05.mdl", "models/hunter/blocks/cube05x105x05.mdl", "models/hunter/blocks/cube075x1x075.mdl", "models/props_c17/fence01a.mdl", "models/props_c17/fence01b.mdl", "models/props_c17/fence02b.mdl", "models/props_c17/fence03a.mdl", "models/props_wasteland/exterior_fence_notbarbed002e.mdl", "models/props_borealis/mooring_cleat01.mdl", "models/props_trainstation/trainstation_clock001.mdl", "models/props_borealis/door_wheel001a.mdl", "models/props_wasteland/controlroom_filecabinet002a.mdl", "models/props_borealis/bluebarrel001.mdl", "models/props_wasteland/controlroom_storagecloset001a.mdl", "models/props_building_details/Storefront_Template001a_Bars.mdl", "models/props_wasteland/barricade001a.mdl", "models/props_c17/canister01a.mdl", "models/props_wasteland/kitchen_counter001b.mdl", "models/props_c17/canister02a.mdl", "models/props_wasteland/kitchen_counter001d.mdl", "models/props_c17/canister_propane01a.mdl", "models/props_wasteland/kitchen_shelf001a.mdl", "models/props_c17/bench01a.mdl", "models/props_wasteland/kitchen_stove001a.mdl", "models/props_c17/concrete_barrier001a.mdl", "models/props_wasteland/kitchen_shelf002a.mdl", "models/props_c17/display_cooler01a.mdl", "models/props_wasteland/laundry_dryer002.mdl", "models/props_c17/door01_left.mdl", "models/props_wasteland/laundry_dryer001.mdl", "models/props_c17/fence01a.mdl", "models/props_wasteland/prison_lamp001c.mdl", "models/props_c17/fence01b.mdl", "models/props_wasteland/barricade002a.mdl", "models/props_c17/fence02a.mdl", "models/props_trainstation/trashcan_indoor001a.mdl", "models/props_c17/fence03a.mdl", "models/props_trainstation/bench_indoor001a.mdl", "models/props_c17/fence04a.mdl", "models/props_junk/wood_crate001a_damaged.mdl", "models/props_c17/FurnitureBathtub001a.mdl", "models/props_junk/wood_crate002a.mdl", "models/props_c17/FurnitureBed001a.mdl", "models/props_junk/TrafficCone001a.mdl", "models/props_c17/FurnitureCouch001a.mdl", "models/props_junk/TrashDumpster01a.mdl", "models/props_c17/FurnitureCouch002a.mdl", "models/props_junk/TrashDumpster02.mdl", "models/props_c17/FurnitureDrawer001a.mdl", "models/props_junk/PushCart01a.mdl", "models/props_c17/FurnitureDrawer002a.mdl", "models/props_combine/breendesk.mdl", "models/props_c17/FurnitureFireplace001a.mdl", "models/props_c17/gravestone_coffinpiece001a.mdl", "models/props_c17/FurnitureFridge001a.mdl", "models/props_junk/PlasticCrate01a.mdl", "models/props_c17/FurnitureRadiator001a.mdl", "models/props_junk/PlasticCrate01a.mdl", "models/props_junk/PlasticCrate01a.mdl", "models/props_c17/furnitureStove001a.mdl", "models/props_c17/FurnitureTable003a.mdl", "models/props_c17/FurnitureTable002a.mdl", "models/props_c17/FurnitureSink001a.mdl", "models/props_interiors/VendingMachineSoda01a.mdl", "models/props_c17/FurnitureTable001a.mdl", "models/props_interiors/VendingMachineSoda01a_door.mdl", "models/props_c17/FurnitureWashingmachine001a.mdl", "models/props_wasteland/wood_fence01a.mdla", "models/props_wasteland/laundry_cart002.mdl", "models/props_lab/kennel_physics.mdl", "models/props_junk/ravenholmsign.mdl", "models/props_junk/wood_pallet001a.mdl", "models/props_c17/BriefCase001a.mdl", "models/Gibs/HGIBS_rib.mdl", "models/Gibs/HGIBS.mdl", "models/Gibs/HGIBS_spine.mdl", "models/props_c17/chair_stool01a.mdl", "models/props_lab/desklamp01.mdl", "models/props_lab/frame002a.mdl", "models/props_lab/citizenradio.mdl", "models/props_lab/workspace003.mdl", "models/props_lab/securitybank.mdl", "models/props_lab/monitor01a.mdl", "models/props_lab/monitor01b.mdl", "models/props_lab/workspace004.mdl", "models/props_lab/plotter.mdl", "models/props_c17/chair_kleiner03a.mdl", "models/props_trainstation/traincar_seats001.mdl", "models/props_junk/Wheebarrow01a.mdl", "models/props_c17/SuitCase_Passenger_Physics.mdl", "models/props_lab/workspace002.mdl", "models/Items/ammocrate_ar2.mdl", "models/env/furniture/wc_double_cupboard/wc_double_cupboard.mdl", "models/Items/item_item_crate.mdl", "models/props_wasteland/exterior_fence_notbarbed002d.mdl", "models/hunter/plates/plate3x4.mdl", "models/hunter/plates/plate3x5.mdl", "models/hunter/plates/plate3x6.mdl", "models/hunter/plates/plate3x7.mdl", "models/hunter/plates/plate3x8.mdl" }, }, ["Meubles"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bedroom/bedroom_table_b.mdl", "models/furniturepack3/bedroom/drawer_a.mdl", "models/furniturepack3/bedroom/drawer_b.mdl", "models/furniturepack3/bedroom/drawer_c.mdl", "models/furniturepack3/bedroom/drawer_d.mdl", "models/furniturepack3/bedroom/drawer_e.mdl", "models/furniturepack3/bedroom/drawer_f.mdl", "models/furniturepack3/bedroom/drawer_g.mdl", "models/furniturepack3/bedroom/drawer_h.mdl", "models/furniturepack3/bedroom/drawer_i.mdl", "models/furniturepack3/bedroom/drawer_j.mdl", "models/furniturepack3/bedroom/drawer_k.mdl", "models/furniturepack3/bedroom/drawer_l.mdl", "models/furniturepack3/coffee_tables/coffeetable_a.mdl", "models/furniturepack3/coffee_tables/coffeetable_b.mdl", "models/furniturepack3/coffee_tables/coffeetable_c.mdl", "models/furniturepack3/coffee_tables/coffeetable_d.mdl", "models/furniturepack3/coffee_tables/coffeetable_e.mdl", "models/furniturepack3/coffee_tables/coffeetable_f.mdl", "models/furniturepack3/coffee_tables/coffeetable_g.mdl", "models/furniturepack3/coffee_tables/coffeetable_h.mdl", "models/furniturepack3/coffee_tables/coffeetable_i.mdl", "models/furniturepack3/coffee_tables/coffeetable_j.mdl", "models/furniturepack3/coffee_tables/coffeetable_k.mdl", "models/furniturepack3/coffee_tables/coffeetable_l.mdl", "models/furniturepack3/coffee_tables/coffeetable_m.mdl", "models/furniturepack3/coffee_tables/coffeetable_n.mdl", "models/furniturepack3/coffee_tables/coffeetable_o.mdl", "models/furniturepack3/desks/desk_a.mdl", "models/furniturepack3/desks/desk_b.mdl", "models/furniturepack3/desks/desk_c.mdl", "models/furniturepack3/desks/desk_d.mdl", "models/furniturepack3/desks/desk_e.mdl", "models/furniturepack3/desks/desk_f.mdl", "models/furniturepack3/desks/desk_h.mdl", "models/furniturepack3/desks/desk_i.mdl", "models/furniturepack3/desks/desk_j.mdl", "models/furniturepack3/desks/desk_k.mdl", "models/furniturepack3/desks/desk_l.mdl", "models/furniturepack3/desks/desk_m.mdl", "models/furniturepack3/desks/desk_n.mdl", "models/furniturepack3/desks/desk_o.mdl", "models/furniturepack3/desks/desk_p.mdl", "models/furniturepack3/desks/desk_r.mdl", "models/furniturepack3/desks/desk_s.mdl", "models/furniturepack3/desks/desk_t.mdl", "models/furniturepack3/desks/desk_u.mdl", "models/furniturepack3/desks/desk_v.mdl", "models/furniturepack3/livingroom/shelf_a.mdl", "models/furniturepack3/livingroom/shelf_b.mdl", "models/furniturepack3/livingroom/tvstand_a.mdl", "models/furniturepack3/livingroom/tvstand_b.mdl", "models/furniturepack3/livingroom/tvstand_c.mdl", "models/furniturepack3/livingroom/tvstand_d.mdl", "models/furniturepack3/livingroom/tvstand_e.mdl", "models/furniturepack3/livingroom/tvstand_f.mdl", "models/furniturepack3/livingroom/tvstand_g.mdl", "models/furniturepack3/livingroom/tvstand_h.mdl", "models/testmodels/coffee_table_long.mdl", "models/sunabouzu/theater_table.mdl", "models/props_interiors/desk_executive.mdl", "models/props_interiors/desk_metal.mdl", "models/props_interiors/dining_table_round.mdl", "models/sal/office/binder2.mdl", "models/sal/office/conftable3.mdl", "models/sal/office/officedesk.mdl", "models/sal/office/officedesk_clean4.mdl", "models/sal/office/officeshelf.mdl", "models/props_vtmb/chinacabinet.mdl", "models/props_vtmb/desk_executive.mdl", "models/props_vtmb/table_dining.mdl", "models/props_vtmb/steel_desk.mdl", "models/natalya/furniture/patio_table.mdl", "models/props/cs_havana/bookcase_small.mdl", "models/props/cs_havana/bookcase_large.mdl", "models/props/cs_italy/it_mkt_table2.mdl", "models/props/cs_italy/it_mkt_table1.mdl", "models/props/cs_italy/it_mkt_table3.mdl", "models/props/cs_militia/barstool01.mdl", "models/props/cs_militia/table_kitchen.mdl", "models/props/cs_militia/table_shed.mdl", "models/props/cs_office/bookshelf1.mdl", "models/props/cs_office/bookshelf2.mdl", "models/props/cs_office/bookshelf3.mdl", "models/props/cs_office/table_meeting.mdl", "models/props/de_tides/restaurant_table.mdl", "models/props/de_tides/patio_chair2.mdl", "models/props/de_tides/patio_chair.mdl", "models/props/de_tides/patio_table.mdl", "models/props/de_tides/patio_table2.mdl", "models/env/furniture/square_sink/sink_double.mdl", "models/env/furniture/square_sink/sink_merged_b.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl", "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet_b.mdl", "models/props_interiors/bed_motel.mdl", "models/props_interiors/side_table_square.mdl", "models/env/furniture/bed_secondclass/beddouble_group.mdl", "models/props_interiors/magazine_rack.mdl", "models/props_equipment/phone_booth.mdl", "models/props_interiors/shelvinggrocery01.mdl", "models/props_equipment/fountain_drinks.mdl", "models/scenery/structural/vesuvius/bartap.mdl", "models/props_downtown/pooltable.mdl", "models/props_furniture/cafe_barstool1.mdl", "models/props_downtown/booth01.mdl", "models/de_vegas/card_table.mdl", "models/props_downtown/booth_table.mdl", "models/props_downtown/booth02.mdl", "models/props_interiors/refrigerator03.mdl", "models/props_warehouse/table_01.mdl", "models/props_interiors/dinning_table_oval.mdl", "models/env/furniture/decosofa_wood/decosofa_wood_dou.mdl", "models/U4Lab/tv_monitor_plasma.mdl", "models/props_plants/plantairport01.mdl", "models/Highrise/potted_plant_05.mdl", "models/U4Lab/desk_office_a.mdl", "models/props_junk/trashcluster01a_corner.mdl", "models/props_interiors/corkboardverticle01.mdl", "models/props_industrial/warehouse_shelf002.mdl", "models/props_industrial/pallet_stack_docks.mdl", "models/props/cs_office/file_box.mdl", "models/props_combine/breenbust.mdl", "models/props/cs_office/paperbox_pile_01.mdl" }, }, ["Mobiliers"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bathroom/shower_a.mdl", "models/furniturepack3/bathroom/sink_a.mdl", "models/furniturepack3/bathroom/sink_b.mdl", "models/furniturepack3/bathroom/toilet_a.mdl", "models/furniturepack3/bathroom/tub_a.mdl", "models/furniturepack3/bathroom/tub_b.mdl", "models/sunabouzu/soda_fountain.mdl", "models/sunabouzu/popcorn_machine.mdl", "models/sunabouzu/display_case02.mdl", "models/sunabouzu/display_case01.mdl", "models/sickness/hussman_02.mdl", "models/props_unique/grocerystorechiller01.mdl", "models/props_street/mail_dropbox.mdl", "models/props_interiors/toilet_b.mdl", "models/pg_props/pg_hospital/pg_optable.mdl", "models/pg_props/pg_hospital/pg_roll_table.mdl", "models/env/furniture/ensuite1_toilet/ensuite1_toilet.mdl", "models/env/furniture/ensuite1_sink/ensuite1_sink.mdl", "models/env/lighting/lamp_trumpet/lamp_trumpet_tall.mdl", "models/gmod_tower/suitetv.mdl" }, }, ["SDF"] = { icon = "icon16/page.png", model = { "models/props_junk/garbage256_composite002b.mdl", "models/props_junk/garbage256_composite001b.mdl", "models/props_junk/cardboard_box001a.mdl", "models/props_junk/garbage_newspaper001a.mdl", "models/props_junk/garbage_plasticbottle001a.mdl", "models/props_junk/metalbucket01a.mdl", "models/props_junk/garbage_glassbottle003a.mdl", "models/props_equipment/sleeping_bag2.mdl", "models/props_equipment/sleeping_bag1.mdl", "models/w_models/weapons/w_pumpshotgun_a.mdl", "models/w_models/weapons/w_desert_eagle.mdl", "models/w_models/weapons/w_pistol_a.mdl", "models/w_models/weapons/w_desert_rifle.mdl", "models/w_models/weapons/w_pumpshotgun_a.mdl", "models/w_models/weapons/w_rifle_b.mdl", "models/w_models/weapons/w_rifle_ak47.mdl", "models/w_models/weapons/w_rifle_m16a2.mdl", "models/w_models/weapons/w_rifle_sg552.mdl", "models/w_models/weapons/w_sniper_mini14.mdl", "models/w_models/weapons/w_sniper_scout.mdl", "models/w_models/weapons/w_shotgun.mdl", "models/testmodels/macbook_pro.mdl", "models/testmodels/apple_display.mdl" }, }, ["Autres"] = { icon = "icon16/page.png", model = { "models/codeandmodeling_babtou_rp_props/azok30_codeandmodeling_babtou_rp_props.mdl" }, }, ["Police"] = { icon = "icon16/page.png", model = { "models/coldfusion/signs/diversionleft.mdl", "models/coldfusion/signs/exclamation.mdl", "models/coldfusion/signs/giveway.mdl", "models/coldfusion/signs/go.mdl", "models/coldfusion/signs/groundstand.mdl", "models/coldfusion/signs/leftturn.mdl", "models/coldfusion/signs/longpole.mdl", "models/coldfusion/signs/mediumpole.mdl", "models/coldfusion/signs/noleftturn.mdl", "models/coldfusion/signs/norightturn.mdl", "models/coldfusion/signs/nostopping.mdl", "models/coldfusion/signs/nothroughroad.mdl", "models/coldfusion/signs/nouturn.mdl", "models/coldfusion/signs/oneway.mdl", "models/coldfusion/signs/parking.mdl", "models/coldfusion/signs/pedestriancrossing.mdl", "models/coldfusion/signs/queueslikely.mdl", "models/coldfusion/signs/redlight.mdl", "models/coldfusion/signs/rightturn.mdl", "models/coldfusion/signs/roadclosed.mdl", "models/coldfusion/signs/roadworks.mdl", "models/coldfusion/signs/roadworkslarge.mdl", "models/coldfusion/signs/roundaboutanticlockwise.mdl", "models/coldfusion/signs/speedcamera.mdl", "models/props/cs_militia/haybale_target_02.mdl", "models/coldfusion/signs/stop.mdl" }, }, ["Lits | Fauteuils | Canapés"] = { icon = "icon16/page.png", model = { "models/furniturepack3/bedroom/full_bed_a.mdl", "models/furniturepack3/bedroom/full_bed_b.mdl", "models/furniturepack3/bedroom/full_bed_c.mdl", "models/furniturepack3/bedroom/full_bed_d.mdl", "models/furniturepack3/bedroom/full_bed_e.mdl", "models/furniturepack3/bedroom/full_bed_f.mdl", "models/furniturepack3/bedroom/full_bed_g.mdl", "models/furniturepack3/bedroom/full_bed_h.mdl", "models/furniturepack3/bedroom/full_bed_i.mdl", "models/furniturepack3/bedroom/full_bed_j.mdl", "models/furniturepack3/bedroom/full_bed_k.mdl", "models/furniturepack3/bedroom/full_bed_l.mdl", "models/furniturepack3/bedroom/full_bed_m.mdl", "models/furniturepack3/bedroom/full_bed_n.mdl", "models/furniturepack3/bedroom/twin_bed_a.mdl", "models/furniturepack3/bedroom/twin_bed_b.mdl", "models/furniturepack3/bedroom/twin_bed_c1.mdl", "models/furniturepack3/bedroom/twin_bed_l.mdl", "models/furniturepack3/couches/couch_a.mdl", "models/furniturepack3/couches/couch_b.mdl", "models/furniturepack3/couches/couch_c.mdl", "models/furniturepack3/couches/couch_d.mdl", "models/splayn/rp/lr/couch.mdl", "models/furniturepack3/bedroom/bed.mdl", "models/furniturepack3/bedroom/bed_b.mdl", "models/furniturepack3/bedroom/bed_c.mdl", "models/furniturepack3/bedroom/bed_d.mdl", "models/furniturepack3/bedroom/bed_e.mdl", "models/furniturepack3/bedroom/bedroom_table_a.mdl", "models/testmodels/sofa_single.mdl", "models/testmodels/sofa_double.mdl", "models/sunabouzu/theater_sofa01.mdl", "models/sunabouzu/lobby_chair.mdl", "models/splayn/rp/lr/chair.mdl", "models/furniturepack3/chairs/chair_a.mdl", "models/props_interiors/chairlobby01.mdl", "models/props_interiors/chairs_airport.mdl", "models/props_interiors/chair_thonet.mdl", "models/props_interiors/chair_office2.mdl", "models/sal/office/chair1.mdl", "models/sal/office/chair2.mdl", "models/sal/office/officechair5_2.mdl", "models/sal/office/lazychair.mdl", "models/props/cs_office/chair_office.mdl", "models/props/cs_office/sofa_chair.mdl", "models/props/cs_office/sofa.mdl", "models/env/furniture/bed_andrea/bed_andrea_1st.mdl", "models/mechanics/solid_steel/step_beam_16.mdl", "models/props_phx/construct/glass/glass_curve360x2.mdl", "models/props_interiors/water_cooler.mdl", "models/props_phx/construct/glass/glass_dome360.mdl", "models/props_vtmb/sofa.mdl", "models/props_phx/construct/windows/window_angle360.mdl", "models/props_vtmb/armchair.mdl", "models/props_interiors/sofa02.mdl", "models/props_phx/construct/wood/wood_curve360x2.mdl", "models/props_interiors/sofa01.mdl", "models/props_furniture/piano.mdl", "models/props_urban/plastic_chair001.mdl", "models/kokoro/starbucks_fooddisplay.mdl", "models/props_interiors/patio_chair2_white.mdl", "models/props/cs_militia/shelves_wood.mdl", "models/themask/sbmp/toys/darts/sm_dart_board_01.mdl", "models/props/cs_office/computer.mdl", "models/props_vtmb/hotelchair.mdl" }, }, } hook.Add("PopulateContent", "RoleplayProps", function(pnlContent, tree) local babtou = tree:AddNode("Babtou Props", "icon16/shield.png") babtou:ExpandTo(true) for k,v in pairs(babtou_spawnmenu) do local k = babtou:AddNode(k, v.icon) local ViewPanel = vgui.Create("ContentContainer", pnlContent) ViewPanel:SetVisible(false) k.DoClick = function() ViewPanel:Clear(true) local mdlicon = spawnmenu.GetContentType("model") if mdlicon then for _,mdl in pairs(v.model) do mdlicon(ViewPanel, {model = mdl}) end end pnlContent:SwitchPanel(ViewPanel) end end end)
Garrysmod/settings/spawnlist/default
Merci @estebandu44