Maire

  • Initiateur de la discussion
Peter257

Peter257

Bambi
Messages
11
Score réaction
0
Points
40
Bonjour,
J'aimerai savoir comment créer le métier maire pour qu'il ai les commande du genre placer un tableau des lois, commencer un couvre feu etc.
Merci
 
  • Banni
M

MichelMoniar

Geek
Messages
192
Score réaction
-1
Points
80
Dans ton jobs.lua tu écrits TEAM_MAYOR et il les auras
 
  • Banni
M

MichelMoniar

Geek
Messages
192
Score réaction
-1
Points
80
TEAM_MAYOR = DarkRP.createJob("Maire", {
color = Color(255, 0, 0, 255),
model = "models/Obama/Obama.mdl",
description = [[The Mayor of the city creates laws to govern the city.
If you are the mayor you may create and accept warrants.
Type /wanted <name> to warrant a player.
Type /jailpos to set the Jail Position.
Type /lockdown initiate a lockdown of the city.
Everyone must be inside during a lockdown.
The cops patrol the area.
/unlockdown to end a lockdown]],
weapons = {"keys", "weapon_arc_atmcard", "m9k_fists"},
command = "mayor",
max = 1,
salary = 200,
admin = 0,
vote = false,
hasLicense = false,
mayor = true,
category = "Civil Protection",
})

Le mien et il est la
 
Discord d'entraide
Rejoignz-nous sur Discord