Probléme Lua Fire Syteme

  • Initiateur de la discussion
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
Bonsoir je viens d'acheter Le DarkRp Fire System J'ai modifier le métier mais j'ai un problème Lua depuis :

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpfiresystem/lua/autorun/fire_darkrpadds.lua on line 28

Je vous met la ligne 28 en Rouge

TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
{
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "Pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
end

Alors a se que j'aurais compris (Je suis pas du tout sur) ce problème viendrais a cause du "pompier" mais je ne vois pas se que sa pourrait êtres o_O
 
  • Initiateur de la discussion
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
Personne ne saurais :/ ?
 
SGCAtlantis

SGCAtlantis

Psychopathe
Messages
2 408
Score réaction
443
Points
300
MaGiX à dit:
Bonsoir je viens d'acheter Le DarkRp Fire System J'ai modifier le métier mais j'ai un problème Lua depuis :

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. addons/darkrpfiresystem/lua/autorun/fire_darkrpadds.lua on line 28

Je vous met la ligne 28 en Rouge

TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
{
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "Pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
end

Alors a se que j'aurais compris (Je suis pas du tout sur) ce problème viendrais a cause du "pompier" mais je ne vois pas se que sa pourrait êtres o_O
Bonsoir,
J'ai l' addon et je n'est aucun pb à avoir renommer en Pompier par conte je ne c'est pas si c'est bon d’avoir renommer la commande.
essais de restaurer celle part défaut (command = "firefighter",)
 
SGCAtlantis

SGCAtlantis

Psychopathe
Messages
2 408
Score réaction
443
Points
300
Att t'on job est en entier la
 
SGCAtlantis

SGCAtlantis

Psychopathe
Messages
2 408
Score réaction
443
Points
300
dans ton job je voie

Code:
color = Color(255, 165, 51, 255),
{
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
ou est le model = pour
Code:
model = {
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
 
  • Initiateur de la discussion
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
Non le vrai code c'est sa, je pense que sa doit être également pareil pour toi

if AdvancedWeapons then
TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
model = {
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
else
TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
{
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "Pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
end
 
SGCAtlantis

SGCAtlantis

Psychopathe
Messages
2 408
Score réaction
443
Points
300
MaGiX à dit:
Non le vrai code c'est sa, je pense que sa doit être également pareil pour toi

if AdvancedWeapons then
TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
model = {
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
else
TEAM_FIREFIGHTER = AddExtraTeam("Pompier", {
color = Color(255, 165, 51, 255),
{
"models/player/paramed/pompier_homme1.mdl",
"models/player/paramed/pompier_homme2.mdl",
"models/player/paramed/pompier_homme3.mdl",
"models/player/paramed/pompier_homme4.mdl",
"models/player/paramed/pompier_homme5.mdl",
"models/player/paramed/pompier_homme6.mdl",
"models/player/paramed/pompier_homme7.mdl",
"models/player/paramed/pompier_homme8.mdl",
"models/player/paramed/pompier_homme9.mdl"
},
description = [[Vous devez éteindres les feux pour protéger la ville]],
weapons = {"fire_extinguisher", "fire_axe", "fire_hose", "weapon_fists", "keys", "weapon_arc_atmcard"},
command = "Pompier",
max = 5,
salary = 250,
admin = 0,
vote = false,
category = "Citizens",
hasLicense = false
})
end
oui bien je vient de te dire ou était le pb
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
Ne pas changer la commande et pourquoi il y a 2 fois le métier ?
 
  • Initiateur de la discussion
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
C'est l'addon qui est comme sa je n'est rien ajouter juste modifier
 
Feytone

Feytone

Chuck Norris
Messages
4 741
Score réaction
1 301
Points
600
Ah mais c'est un If j'avais pas vu ^^
 
  • Initiateur de la discussion
MaGiX

MaGiX

Geek
Messages
92
Score réaction
9
Points
85
Bon mon codeur a régler le problème de Lua mais maintenant je n'arrive pas a voir le job au pole emploie @SCGAtlantis pourrais tu m'envoyer ta ligne de code a toi si sa ne te dérange pas ?
 
Discord d'entraide
Rejoignz-nous sur Discord