Connexion
S'inscrire
Actualités
Quoi de neuf
Activités générales
Auteurs
Forums
Nouveaux messages
Rechercher un forum
Quoi de neuf
Nouveaux messages
Nouveaux messages de profil
Activités générales
Membres
Membres inscrits
Visiteurs actuels
Nouveaux messages de profil
Rechercher dans les messages des profils
Teams
Créé ton équipe
Quoi de neuf ?
Nouveaux messages
Rechercher un forum
Menu
Connexion
S'inscrire
Install the app
Install
Forums
Jeux-vidéos
Autres jeux
Mieux connaître le settings.lua
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="Falkio ?" data-source="post: 7212577" data-attributes="member: 721275"><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Bonjour,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Aujourd'hui petit tuto dont je viens de trouver l'idée car beaucoup ne connaissent pas toutes les fonctionnalités du <a href="https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/settings.lua" target="_blank"><strong>settings.lua </strong></a>je vais donc essayer aujourd'hui de vous décrire le plus possible ce fichier très important et très utile!</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Tout d'abord téléchargez <a href="https://github.com/FPtje/darkrpmodification" target="_blank">DarkRPModification</a></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">installez le dans </span><strong><span style="color: rgb(0, 179, 89)">srcds/garrysmod/addon</span></strong></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Ensuite tout va se dérouler dans: </span><strong><span style="color: rgb(0, 0, 255)">darkrpmodification/lua/darkrp_config/settings.lua</span></strong></span></p><p><span style="font-family: 'Georgia'"></span></p><p><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">1-Modifier le model de l'argent</span></u></strong></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Rendez-vous à la ligne 296: [CODE]GM.Config.moneyModel = "models/props/cs_assault/money.mdl"[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Vous devez donc mettre le model de l'argent à la place de:</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]models/props/cs_assault/money.mdl[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">2-Modifier le symbole de l'argent</span></u></strong></span></p><p><span style="font-family: 'Georgia'"></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Rendez-vous à la ligne 303: [CODE]GM.Config.currency = "$"[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Si vous souhaitez mettre votre serveur en euro (€) alors remplacez le [CODE]$[/CODE] par un [CODE]€[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"></span></p><p><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">3-Modifier le menu F1</span></u></strong></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Alors pour se faire rendez-vous à la ligne 305 ainsi que la ligne 306:</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.F1MenuHelpPage = "https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7"[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Donc ici lorsque vous appuyez sur F1 cela vous ouvrira une page Google mais cela ne vous intéresse pas et souhaitez donc changer la page internet par votre forum par exemple alors remplacez [CODE]https://docs.google.com/document/d/1ppvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Par le lien souhaité </span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]https://reality-gaming.fr[/CODE]</span></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)">Ensuite je vous ai également mit la ligne 306: [CODE]GM.Config.F1MenuHelpPageTitle = "Server tips"[/CODE] vous allez me demander pourquoi?</span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)">Et bien je vais y répondre tout simplement pour modifier le nom du menu F1 ici nommé </span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)">Remplacez tout simplement [CODE]Server tips[/CODE] par ce que vous désirez [CODE]RealityGaming[/CODE]</span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)"></span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><strong><u><span style="color: rgb(255, 0, 0)">4-Être dans un groupe d'utilisateur</span></u></strong></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)"></span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)">Tout d'abord je conseille à tous les fondateurs cette méthode</span></a></span></p><p><span style="font-family: 'Georgia'"><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="color: rgb(0, 0, 0)">Bien, rendez-vous de la ligne 309 à 312:</span></a></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.DefaultPlayerGroups = {</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">["STEAM_0:0:00000000"] = "superadmin",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">["STEAM_0:0:11111111"] = "admin",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Ceci détermine tel SteamID sera assigné à tel groupe je conseille fortement à tous les fondateurs de mettre leur SteamID ici:</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]["VOTRE-STEAM-ID"] = "superadmin"[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Car si je ne me trompe pas cela vous permet si jamais par malheur un trolleur vous rétrograde joueur ou autre lors de votre prochaine connexion, vous soyez de nouveau superadmin <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite355" alt=":)" title=":) :)" loading="lazy" data-shortname=":)" /> sympa non?</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">5-Interdir le drop de certaines armes</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Alors pour cela allez à la ligne 321:</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.DisallowDrop = { ["arrest_stick"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["door_ram"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_camera"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_tool"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["keys"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["lockpick"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["med_kit"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["pocket"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["stunstick"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["unarrest_stick"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["weapon_keypadchecker"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["weapon_physcannon"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["weapon_physgun"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["weaponchecker"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Cette liste définie toutes les armes ne pouvant pas être jetées:[SPOILER="Liste"]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Bâton d'arrestation</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Bélier</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Appareil photo</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Pied de biche</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Kit de soins</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Poche</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Matraque</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Bâton de libération</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-vérificateur de keypads</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Gravitygun</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Physicgun</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-Contrôleur d'armes</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[/SPOILER]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Vous pouvez donc ajoutez de cette manière n'importe quelle arme:</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]["ARME"] = true,[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Et hop le tour est joué <img src="/data/assets/smilies/joueur.gif" class="smilie" loading="lazy" alt=":p" title="Joueur :p" data-shortname=":p" /></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">6-Configurer les armes au spawn</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Configurer les armes au spawn ca veut dire quoi?</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Cela signifie que tous les métiers de votre serveur apparaitrons avec ses armes <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite351" alt=";)" title="Clin d'oeil ;)" loading="lazy" data-shortname=";)" /></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Bien rendez-vous à la ligne 339:</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.DefaultWeapons = { </span></span></p><p> <span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">"keys",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">"weapon_physcannon",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "gmod_camera",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "gmod_tool",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "pocket",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "weapon_physgun",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Et pour que tous les métiers apparaissent avec des armes supplémentaires il suffit de rajouter un ligne identique sans oublier la virgule juste avant le [CODE]}[/CODE]: [CODE]"ARME",[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">7-Modifier les armes d'administrateur</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour modifier ceci, allez à la ligne 395:</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.AdminWeapons = {</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">"weapon_keypadchecker",</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour faire apparaître vos staff avec d'autres armes il suffit de les ajouter à la suite avant le : [CODE]}[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">8-Retirer ou modifier les lois de base</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour effectuer cette manipulation rendez-vous à la ligne 400 :</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.DefaultLaws = {</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">"Do not attack other citizens except in self-defence.",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "Do not steal or break into people's homes.",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> "Money printers/drugs are illegal.",</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Ces trois lignes en anglais sont les trois lois de base que vous voyez apparaître sur le tableau des lois pour retirer ses lois effacez simplement</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Et pour les modifier, modifiez simplement les textes <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite171" alt=":D" title="Awesome face :D" loading="lazy" data-shortname=":D" /></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">9-Empechez de ranger des chose dans la pocket</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour se faire veuillez vous rendre à la ligne 406 :</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.PocketBlacklist = {</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">["fadmin_jail"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["meteor"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["door"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["func_"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["player"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["beam"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["worldspawn"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["env_"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["path_"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["prop_physics"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["money_printer"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gunlab"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["prop_dynamic"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["prop_vehicle_prisoner_pod"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["keypad_wire"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_button"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_rtcameraprop"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_cameraprop"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_dynamite"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_thruster"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_light"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_lamp"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ["gmod_emitter"] = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Vous avez donc la liste de tous les objets que les joueurs ne peuvent pas ranger sans leur poche pour en rajouter c'est simple: [CODE] ["OBJET"] = true,[/CODE] à ajouter avant le :[CODE]}[/CODE] et pour en retirer supprimez simplement la ligne correspondante BloodTrail</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">10-Retirer des options dans le context menu (menu C)</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Vous en avez marre de voir vos joueurs supprimer les ascenseurs avec le context menu ou même retirer la gravité à certains props alors cela va vous intéresser</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Rendez-vous à la ligne 451:</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]GM.Config.allowedProperties = {</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">remover = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> ignite = false,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> extinguish = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> keepupright = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> gravity = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> collision = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> skin = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"> bodygroups = true,</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">}[/CODE]</span></span></p><p></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Alors je vais vous faire les principaux,</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]remover = true,[/CODE] true = les joueurs peuvent supprimer via le context menu / false = impossible de supprimer quoi que ce soit via le menu C</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]gravity = true,[/CODE] true = les joueurs peuvent retirer la gravité aux objets / false = impossible de retirer la gravité</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]collision = true,[/CODE] true = les joueurs peuvent retirer les collisions / false = les joueurs ne peuvent pas retirer les collisions</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">11-Configurer le tueur à gages</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Alors rendez vous à la ligne 485 :</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]-- The minimum price for a hit.</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.minHitPrice = 200</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- The maximum price for a hit.</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.maxHitPrice = 50000</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- The minimum distance between a hitman and his customer when they make the deal.</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.minHitDistance = 150</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- The text that tells the player he can press use on the hitman to request a hit.</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!"</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- The text above a hitman when he's got a hit.</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.hitmanText = "Hit\naccepted!"</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- The cooldown time for a hit target (so they aren't spam killed).</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.hitTargetCooldown = 120</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- How long a customer has to wait to be able to buy another hit (from the moment the hit is accepted).</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.hitCustomerCooldown = 240[/CODE]</span></span></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour modifier le prix minimum d'un contrat : [CODE]GM.Config.minHitPrice = 200[/CODE] remplacez simplement [CODE]200[/CODE] par le prix souhaitée</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour configurer le prix maximum pour un contrat: [CODE]GM.Config.maxHitPrice = 50000[/CODE] remplacez simplement [CODE]50000[/CODE] par la valeur souhaitée</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour configurer la distance maximum à laquelle un joueur peut placer un contrat : [CODE]GM.Config.minHitDistance = 150[/CODE] remplacez [CODE]150[/CODE] par la distance souhaitée</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour modifier le texte du tueur à gages: [CODE]GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!"[/CODE] remplacez le texte en anglais par votre texte en laissant le [CODE]/n[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Modifier le texte lors de l'acceptation d'un contrat: [CODE]GM.Config.hitmanText = "Hit\naccepted!"[/CODE] remplacez par le texte voulu en laissant toujours le [CODE]/n[/CODE]</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Le temps d'attente avant de pouvoir placer un contrat sur le même joueur : [CODE]GM.Config.hitTargetCooldown = 120[/CODE] remplacez [CODE]120[/CODE] par le temps souhaité (en secondes il me semble)</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Le temps d'attente avant qu'un joueur puisse demander de nouveau un contrat: [CODE]GM.Config.hitCustomerCooldown = 240[/CODE] remplacez [CODE]240[/CODE] par le temps souhaité (en secondes il me semble)</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><strong><u><span style="color: rgb(255, 0, 0)">12-Modifier le module de faim (Hungermod)</span></u></strong></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Alors rendez-vous à la ligne 503:</span></span></a></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">[CODE]-- hungerspeed <Amount> - Set the rate at which players will become hungry (2 is the default).</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.hungerspeed = 2</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">-- starverate <Amount> - How much health that is taken away every second the player is starving (3 is the default).</span></span></p><p><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">GM.Config.starverate = 3[/CODE]</span></span></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Modifier la vitesse de baisse de la barre de faim: [CODE]GM.Config.hungerspeed = 2[/CODE] plus le chiffre est élevé plus la faim diminuera rapidement remplacez donc [CODE]2[/CODE] par le chiffre souhaité</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Modifier le nombre de points vie perdu lorsque la barre de faim atteint 0: [CODE]GM.Config.starverate = 3[/CODE] lorsque la barre de faim est à 0, le joueur perdra 3 points de vie à chaque fois que la faim doit descendre étant donné que vous êtes mort de faim remplacez donc [CODE]3[/CODE] par le nombre de points de vie qui doivent êtres perdus</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)"></span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Voila, c'est la fin de ce tutoriel qui m'aura prit pas mal de temps pour expliquer au mieux et le plus de choses possibles</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">J'espère qu'il vous plaira et vous servira</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Pour toute question n'hésitez pas à la poser en commentaire pareil pour les suggestions</span></span></a></p><p><a href="https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7" target="_blank"><span style="font-family: 'Georgia'"><span style="color: rgb(0, 0, 0)">Bien cordialement</span></span></a></p></blockquote><p></p>
[QUOTE="Falkio ?, post: 7212577, member: 721275"] [FONT=Georgia][COLOR=rgb(0, 0, 0)]Bonjour, Aujourd'hui petit tuto dont je viens de trouver l'idée car beaucoup ne connaissent pas toutes les fonctionnalités du [URL='https://github.com/FPtje/darkrpmodification/blob/master/lua/darkrp_config/settings.lua'][B]settings.lua [/B][/URL]je vais donc essayer aujourd'hui de vous décrire le plus possible ce fichier très important et très utile! Tout d'abord téléchargez [URL='https://github.com/FPtje/darkrpmodification']DarkRPModification[/URL] installez le dans [/COLOR][B][COLOR=rgb(0, 179, 89)]srcds/garrysmod/addon[/COLOR][/B] [COLOR=rgb(0, 0, 0)]Ensuite tout va se dérouler dans: [/COLOR][B][COLOR=rgb(0, 0, 255)]darkrpmodification/lua/darkrp_config/settings.lua[/COLOR][/B] [B][U][COLOR=rgb(255, 0, 0)]1-Modifier le model de l'argent[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Rendez-vous à la ligne 296: [CODE]GM.Config.moneyModel = "models/props/cs_assault/money.mdl"[/CODE] Vous devez donc mettre le model de l'argent à la place de: [CODE]models/props/cs_assault/money.mdl[/CODE] [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]2-Modifier le symbole de l'argent[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)]Rendez-vous à la ligne 303: [CODE]GM.Config.currency = "$"[/CODE] Si vous souhaitez mettre votre serveur en euro (€) alors remplacez le [CODE]$[/CODE] par un [CODE]€[/CODE][/COLOR] [B][U][COLOR=rgb(255, 0, 0)]3-Modifier le menu F1[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Alors pour se faire rendez-vous à la ligne 305 ainsi que la ligne 306: [CODE]GM.Config.F1MenuHelpPage = "https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7"[/CODE] Donc ici lorsque vous appuyez sur F1 cela vous ouvrira une page Google mais cela ne vous intéresse pas et souhaitez donc changer la page internet par votre forum par exemple alors remplacez [CODE]https://docs.google.com/document/d/1ppvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7[/CODE] Par le lien souhaité [CODE]https://reality-gaming.fr[/CODE][/COLOR] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][COLOR=rgb(0, 0, 0)]Ensuite je vous ai également mit la ligne 306: [CODE]GM.Config.F1MenuHelpPageTitle = "Server tips"[/CODE] vous allez me demander pourquoi? Et bien je vais y répondre tout simplement pour modifier le nom du menu F1 ici nommé Remplacez tout simplement [CODE]Server tips[/CODE] par ce que vous désirez [CODE]RealityGaming[/CODE] [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]4-Être dans un groupe d'utilisateur[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Tout d'abord je conseille à tous les fondateurs cette méthode Bien, rendez-vous de la ligne 309 à 312:[/COLOR][/URL] [COLOR=rgb(0, 0, 0)][CODE]GM.Config.DefaultPlayerGroups = { ["STEAM_0:0:00000000"] = "superadmin", ["STEAM_0:0:11111111"] = "admin", }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia] [COLOR=rgb(0, 0, 0)]Ceci détermine tel SteamID sera assigné à tel groupe je conseille fortement à tous les fondateurs de mettre leur SteamID ici: [CODE]["VOTRE-STEAM-ID"] = "superadmin"[/CODE] Car si je ne me trompe pas cela vous permet si jamais par malheur un trolleur vous rétrograde joueur ou autre lors de votre prochaine connexion, vous soyez de nouveau superadmin :) sympa non?[/COLOR] [B][U][COLOR=rgb(255, 0, 0)]5-Interdir le drop de certaines armes[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)]Alors pour cela allez à la ligne 321:[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]GM.Config.DisallowDrop = { ["arrest_stick"] = true, ["door_ram"] = true, ["gmod_camera"] = true, ["gmod_tool"] = true, ["keys"] = true, ["lockpick"] = true, ["med_kit"] = true, ["pocket"] = true, ["stunstick"] = true, ["unarrest_stick"] = true, ["weapon_keypadchecker"] = true, ["weapon_physcannon"] = true, ["weapon_physgun"] = true, ["weaponchecker"] = true, }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia][COLOR=rgb(0, 0, 0)]Cette liste définie toutes les armes ne pouvant pas être jetées:[SPOILER="Liste"] -Bâton d'arrestation -Bélier -Appareil photo -Pied de biche -Kit de soins -Poche -Matraque -Bâton de libération -vérificateur de keypads -Gravitygun -Physicgun -Contrôleur d'armes [/SPOILER] Vous pouvez donc ajoutez de cette manière n'importe quelle arme: [CODE]["ARME"] = true,[/CODE] Et hop le tour est joué :p [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]6-Configurer les armes au spawn[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Configurer les armes au spawn ca veut dire quoi? Cela signifie que tous les métiers de votre serveur apparaitrons avec ses armes ;) Bien rendez-vous à la ligne 339:[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]GM.Config.DefaultWeapons = { "keys", "weapon_physcannon", "gmod_camera", "gmod_tool", "pocket", "weapon_physgun", }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia][COLOR=rgb(0, 0, 0)]Et pour que tous les métiers apparaissent avec des armes supplémentaires il suffit de rajouter un ligne identique sans oublier la virgule juste avant le [CODE]}[/CODE]: [CODE]"ARME",[/CODE] [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]7-Modifier les armes d'administrateur[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Pour modifier ceci, allez à la ligne 395: GM.Config.AdminWeapons = { "weapon_keypadchecker", } Pour faire apparaître vos staff avec d'autres armes il suffit de les ajouter à la suite avant le : [CODE]}[/CODE] [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]8-Retirer ou modifier les lois de base[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Pour effectuer cette manipulation rendez-vous à la ligne 400 :[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]GM.Config.DefaultLaws = { "Do not attack other citizens except in self-defence.", "Do not steal or break into people's homes.", "Money printers/drugs are illegal.", }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia][COLOR=rgb(0, 0, 0)] Ces trois lignes en anglais sont les trois lois de base que vous voyez apparaître sur le tableau des lois pour retirer ses lois effacez simplement Et pour les modifier, modifiez simplement les textes :D [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]9-Empechez de ranger des chose dans la pocket[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Pour se faire veuillez vous rendre à la ligne 406 :[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]GM.Config.PocketBlacklist = { ["fadmin_jail"] = true, ["meteor"] = true, ["door"] = true, ["func_"] = true, ["player"] = true, ["beam"] = true, ["worldspawn"] = true, ["env_"] = true, ["path_"] = true, ["prop_physics"] = true, ["money_printer"] = true, ["gunlab"] = true, ["prop_dynamic"] = true, ["prop_vehicle_prisoner_pod"] = true, ["keypad_wire"] = true, ["gmod_button"] = true, ["gmod_rtcameraprop"] = true, ["gmod_cameraprop"] = true, ["gmod_dynamite"] = true, ["gmod_thruster"] = true, ["gmod_light"] = true, ["gmod_lamp"] = true, ["gmod_emitter"] = true, }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia][COLOR=rgb(0, 0, 0)]Vous avez donc la liste de tous les objets que les joueurs ne peuvent pas ranger sans leur poche pour en rajouter c'est simple: [CODE] ["OBJET"] = true,[/CODE] à ajouter avant le :[CODE]}[/CODE] et pour en retirer supprimez simplement la ligne correspondante BloodTrail [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]10-Retirer des options dans le context menu (menu C)[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Vous en avez marre de voir vos joueurs supprimer les ascenseurs avec le context menu ou même retirer la gravité à certains props alors cela va vous intéresser Rendez-vous à la ligne 451: [/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]GM.Config.allowedProperties = { remover = true, ignite = false, extinguish = true, keepupright = true, gravity = true, collision = true, skin = true, bodygroups = true, }[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia][COLOR=rgb(0, 0, 0)]Alors je vais vous faire les principaux, [CODE]remover = true,[/CODE] true = les joueurs peuvent supprimer via le context menu / false = impossible de supprimer quoi que ce soit via le menu C [CODE]gravity = true,[/CODE] true = les joueurs peuvent retirer la gravité aux objets / false = impossible de retirer la gravité [CODE]collision = true,[/CODE] true = les joueurs peuvent retirer les collisions / false = les joueurs ne peuvent pas retirer les collisions [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]11-Configurer le tueur à gages[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Alors rendez vous à la ligne 485 :[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]-- The minimum price for a hit. GM.Config.minHitPrice = 200 -- The maximum price for a hit. GM.Config.maxHitPrice = 50000 -- The minimum distance between a hitman and his customer when they make the deal. GM.Config.minHitDistance = 150 -- The text that tells the player he can press use on the hitman to request a hit. GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!" -- The text above a hitman when he's got a hit. GM.Config.hitmanText = "Hit\naccepted!" -- The cooldown time for a hit target (so they aren't spam killed). GM.Config.hitTargetCooldown = 120 -- How long a customer has to wait to be able to buy another hit (from the moment the hit is accepted). GM.Config.hitCustomerCooldown = 240[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia] [COLOR=rgb(0, 0, 0)]Pour modifier le prix minimum d'un contrat : [CODE]GM.Config.minHitPrice = 200[/CODE] remplacez simplement [CODE]200[/CODE] par le prix souhaitée Pour configurer le prix maximum pour un contrat: [CODE]GM.Config.maxHitPrice = 50000[/CODE] remplacez simplement [CODE]50000[/CODE] par la valeur souhaitée Pour configurer la distance maximum à laquelle un joueur peut placer un contrat : [CODE]GM.Config.minHitDistance = 150[/CODE] remplacez [CODE]150[/CODE] par la distance souhaitée Pour modifier le texte du tueur à gages: [CODE]GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!"[/CODE] remplacez le texte en anglais par votre texte en laissant le [CODE]/n[/CODE] Modifier le texte lors de l'acceptation d'un contrat: [CODE]GM.Config.hitmanText = "Hit\naccepted!"[/CODE] remplacez par le texte voulu en laissant toujours le [CODE]/n[/CODE] Le temps d'attente avant de pouvoir placer un contrat sur le même joueur : [CODE]GM.Config.hitTargetCooldown = 120[/CODE] remplacez [CODE]120[/CODE] par le temps souhaité (en secondes il me semble) Le temps d'attente avant qu'un joueur puisse demander de nouveau un contrat: [CODE]GM.Config.hitCustomerCooldown = 240[/CODE] remplacez [CODE]240[/CODE] par le temps souhaité (en secondes il me semble) [/COLOR] [B][U][COLOR=rgb(255, 0, 0)]12-Modifier le module de faim (Hungermod)[/COLOR][/U][/B] [COLOR=rgb(0, 0, 0)] Alors rendez-vous à la ligne 503:[/COLOR][/FONT][/URL] [FONT=Georgia][COLOR=rgb(0, 0, 0)][CODE]-- hungerspeed <Amount> - Set the rate at which players will become hungry (2 is the default). GM.Config.hungerspeed = 2 -- starverate <Amount> - How much health that is taken away every second the player is starving (3 is the default). GM.Config.starverate = 3[/CODE][/COLOR][/FONT] [URL='https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A/edit#heading=h.e5iaqteza8x7'][FONT=Georgia] [COLOR=rgb(0, 0, 0)]Modifier la vitesse de baisse de la barre de faim: [CODE]GM.Config.hungerspeed = 2[/CODE] plus le chiffre est élevé plus la faim diminuera rapidement remplacez donc [CODE]2[/CODE] par le chiffre souhaité Modifier le nombre de points vie perdu lorsque la barre de faim atteint 0: [CODE]GM.Config.starverate = 3[/CODE] lorsque la barre de faim est à 0, le joueur perdra 3 points de vie à chaque fois que la faim doit descendre étant donné que vous êtes mort de faim remplacez donc [CODE]3[/CODE] par le nombre de points de vie qui doivent êtres perdus Voila, c'est la fin de ce tutoriel qui m'aura prit pas mal de temps pour expliquer au mieux et le plus de choses possibles J'espère qu'il vous plaira et vous servira Pour toute question n'hésitez pas à la poser en commentaire pareil pour les suggestions Bien cordialement[/COLOR][/FONT][/URL] [/QUOTE]
Insérer les citations…
Vérification
Publier la réponse
Forums
Jeux-vidéos
Autres jeux
Mieux connaître le settings.lua
Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
Acceptez
En savoir plus.…
Haut