Comment bloquer le Spawn des props ?

  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Bonjour,

J'aimerais savoir comment bloquer les props de la partie encadrer en rouge et seulement cela sur l'image ci jointe et aussi je cherche comment mettre des notifications personnalisé en bas a droite de l'écran , merci a ceux qui m'aideront.

Cordialement,
Xcitie
 

Pièces jointes

  • props.jpg
    props.jpg
    338.6 KB Vues: 219
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Ok merci
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
Ok donc ta juste a te rendre ici > garrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Yoh Sambre ♪ à dit:
Ok donc ta juste a te rendre ici > garrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content
Merci de votre réponse mais j'ai oublié de le souligner dans ma question j'aimerais le bloquer seulement pour le groupe "user" .
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
Xcitie à dit:
Merci de votre réponse mais j'ai oublié de le souligner dans ma question j'aimerais le bloquer seulement pour le groupe "user" .
Code:
 local function DisallowSpawnMenu( ) if not LocalPlayer():IsAdmin() then return false chat.AddText( Color( 255, 0, 0 ), "Menu reservé au staff du serveur !" ) end end hook.Add( "SpawnMenuOpen", "DisallowSpawnMenu", DisallowSpawnMenu)
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Yoh Sambre ♪ à dit:
Code:
 local function DisallowSpawnMenu( ) if not LocalPlayer():IsAdmin() then return false chat.AddText( Color( 255, 0, 0 ), "Menu reservé au staff du serveur !" ) end end hook.Add( "SpawnMenuOpen", "DisallowSpawnMenu", DisallowSpawnMenu)
hmmm sa ne fonctionne pas , tout le menu des props est bloquer , j'aimerais juste que ce sois la partie des addons qui soit bloquer au user . Est ce possible ?
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
je n'ai pas ça sous la main

@Zaros_Live
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
D'accord merci quand même ^^
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Xcitie à dit:
D'accord merci quand même ^^
Fait une spawn list perso et enlève la possibilité d'accéder à la rubrique.
Tu vas dans gamemodes>bababababa>...>content.lua
Et la tu supprime la partie que tu veux pas
 
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
Yoh Sambre ♪ à dit:
je n'ai pas ça sous la main

@Zaros_Live
Merde j’avais pas vu le tag, ce sera pour demain du coup ;)


SλRØ à dit:
Fait une spawn list perso et enlève la possibilité d'accéder à la rubrique.
Tu vas dans gamemodes>bababababa>...>content.lua
Et la tu supprime la partie que tu veux pas
Je ne trouve pas le dossier bababababa Kappa
 
  • J'aime
Réactions: Yoh Sambre ♪
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Zaros_Live à dit:
Merde j’avais pas vu le tag, ce sera pour demain du coup ;)



Je ne trouve pas le dossier bababababa Kappa
Keepo
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Comment sa une spawn list ?
 
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
alta -300qi présente la non solution:
(c'est pas ça mais je laisse pour ceux qui en ont besoin:)
Code:
local restrict = { ["user"] = false, ["vip"] = true, ["autreusergroup"] = true,
}
local function restrictPropSpawn(ply) if not restrict[ply:GetUserGroup()] then return false end
end
hook.Add("PlayerSpawnProp","restrictPropSpawn",restrictPropSpawn)
à mettre dans lua/autorun/server/restrictprop.lua
 
Dernière édition:
  • J'aime
Réactions: Yoh Sambre ♪
ZarosOVH

ZarosOVH

Modérateur
Membre du Staff
Messages
6 527
Score réaction
5 488
Points
1 295
ALTA à dit:
300qi ici :rolleyes:

tout simplement:

Code:
local restrict = { ["user"] = false, ["vip"] = true, ["autreusergroup"] = true,
}
local function restrictPropSpawn(ply) if not restrict[ply:GetUserGroup()] then return false end
end
hook.Add("PlayerSpawnProp","restrictPropSpawn",restrictPropSpawn)
à mettre dans lua/autorun/server/restrictprop.lua
Il veut interdire le spawn de props aux users, pas trier les props qu'il ne veut pas, interdire l'accès au menu Q n'interdira pas l'utilisation de gm_spawn dans la console.
Faut savoir lire Monsieur 300qi Kappa

Il veux pas désactivé le spawn de props mais juste désactivé la partie encadré en rouge sur son screen ;)
 
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
j'vais fouiller, j'éditerais cette réponse si je trouve,mais je crois savoir.
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Alors , avez vous trouvé ?
 
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
Ce système de menuprops est assez étrange... Voilà comment il marche:
côté client, dans settings, tu as des fichiers dans le dossier spawnmenu, qui se charge lorsque le menu de spawn s'initialise, donc à moins de changer du code source (le lua qui est de base sur gmod côté serveur) tu ne poura pas empêcher ces catégories d'apparaître. c'est mal foutu.
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Certains serveur l'on fais mais comme par hasard ne veulent pas m'aider .... Ni me renseigner comment il ont fait .
 
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
Comme je te l'ai dit, ils ont modifié du code source
 
Akulla

Akulla

Helpeur Divin
Messages
3 808
Score réaction
2 240
Points
550
Xcitie à dit:
Certains serveur l'on fais mais comme par hasard ne veulent pas m'aider .... Ni me renseigner comment il ont fait .
C'est des méchants...
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
ALTA à dit:
tu ne poura pas empêcher ces catégories d'apparaître. c'est mal foutu.
challenge accepted NinjaTroll

 
  • J'aime
Réactions: Lap3che
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
t'as modifié du code source ou alors t'as modifié tes settings/spawnmenu mais de ton côté uniquement ^^'
 
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
J'aimerais bien savoir comment tu as fais :) Sa m'aiderais beaucoup .
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Nan mais va dans content.lua et supprime se que tu veux pas.
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Xcitie à dit:
J'aimerais bien savoir comment tu as fais :) Sa m'aiderais beaucoup .
vient vocal mtx ts
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
  • Initiateur de la discussion
X

Xcitie

Geek
Messages
74
Score réaction
2
Points
90
Le ts stp ?
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Tien une spawnlist modifier :
Code:
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)
tu mes le code dans autorun>client>tonnomdefichier.lua
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
edit ton code en indiquant le lien de cette version (obfus pour troll PartyTime)

http://dpaste.com/1EWJW82
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
Yoh Sambre ♪ à dit:
edit ton code en indiquant le lien de cette version (obfus pour troll PartyTime)

http://dpaste.com/1EWJW82
Je lui ai donner ma spawn list perso. Post résolu
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
rofl vous n’êtes pas fun
 
  • J'aime
Réactions: SλRØ
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
L'obfu ça doit tellement ralentir le code, non?
 
SλRØ

SλRØ

Bambi
Messages
70
Score réaction
7
Points
35
ALTA à dit:
L'obfu ça doit tellement ralentir le code, non?
Je lui ai donné ma spawnlist. Pas la spawnlist de babtou roleplay
 
ALTA

ALTA

Geek suprême
Messages
449
Score réaction
212
Points
150
je parles à Yoh et son obfuscation de code, ton obfu doit rendre ton code tellement lent
 
Yoh Sambre ♪

Yoh Sambre ♪

Shaman Fou
Messages
16 288
Score réaction
9 687
Points
1 845
ALTA à dit:
je parles à Yoh et son obfuscation de code, ton obfu doit rendre ton code tellement lent
/me ricane
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
ALTA à dit:
je parles à Yoh et son obfuscation de code, ton obfu doit rendre ton code tellement lent
Beh non ? L'ordinateur, techniquement, il lit la même chose non ? Fin je crois.
 
↪ FREED€NT ↩

↪ FREED€NT ↩

Bambi
Messages
45
Score réaction
5
Points
35
ALTA à dit:
t'as modifié du code source ou alors t'as modifié tes settings/spawnmenu mais de ton côté uniquement ^^'
Il a juste modifier le content.lua et à créer un dossier spawnlist.lua dans lu>autorun>client
 
Discord d'entraide
Rejoignz-nous sur Discord