Problème ulx !menu

  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Bonjour à tous , je viens de louer un serveur mtx avec ulx/ulib... Je me met superadmin avec la commande suivante : ulx adduser (pseudo) superadmin
Tout marche super bien sauf le menu tab ou je n'ai aucun accès et le !menu auquel je ne peux pas accéder
Je vous poste 2 photos :
https://www.noelshack.com/2017-04-1485355943-rp-rockford-v1b0001.png
https://www.noelshack.com/2017-04-1485355948-rp-rockford-v1b0000.png

En espérant que vous pourrez m'aider

Cordialement,
 
P

PizzaMonica

Bambi
Messages
33
Score réaction
0
Points
30
Salut,

Tout d'abord, je ne peux pas t'aider pour le menu tab car je ne m'y connais pas en DarkRP.
Toutefois, il me semble que les commandes sont pas très bien configurées, c'est pour cela que je t'invite à aller dans settings/users.txt et d'ajouter ton SteamID dans la table SuperAdmin.

Ca devrait ressemble à sa :

"Users"
{

"superadmin"
{
"Le nom ici" "Ton SteamIDici"
}

"admin"
{
}

}

En espérant t'avoir aidé, cordialement.
 
Sirka

Sirka

Geek
Messages
30
Score réaction
0
Points
45
Bonjour à toi, le problème peut aussi venir d'une éventuelle erreur Lua, si tu en as une cela expliquera tous t'es problèmes :)
 
R

Reayler

Geek
Messages
14
Score réaction
2
Points
45
Pourrais tu me dire ce que ta console dit si elle dit quelque chose ?
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Reayler à dit:
Pourrais tu me dire ce que ta console dit si elle dit quelque chose ?
Ma console me marque une erreur lua qui est la suivante :

[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 78.
The best help I can give you is this:

Right before the 'end', Lua encountered something it could not make sense of.

Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?

------- End of Simplerr error -------

Mais je n'y conprend pas grand chose :eek:
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
En bref dans "darkrp_customthings/jobs.lua" ligne 78 il y'a une couille ^^ Envoi la ligne
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
En bref dans "darkrp_customthings/jobs.lua" ligne 78 il y'a une couille ^^ Envoi la ligne
Lignes 76 à 84 :

--[[---------------------------------------------------------------------------
Entities
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["entities"] = {
["Drug lab"] = false,
["Gun lab"] = false,
["Money printer"] = false,
["Microwave"] = false, --Hungermod only
}
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
La 78 est la 2 eme ligne avec les --
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Heuu... C'est bien le jobs.lua ?
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Car ça normalement c'est dans disabled_defaults.lua
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Heuu... C'est bien le jobs.lua ?
Moi aussi ça m'a paru assez bizarre mais c'est bien ça.Après où est l'erreur je ne sait pas
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Et bien l'erreur est juste la c'est le dawa dans tes fichiers :p

Envoi le jobs.lua en entier (A part si t'as des métiers que tu veux pas montrer)
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Et bien l'erreur est juste la c'est le dawa dans tes fichiers :p

Envoi le jobs.lua en entier (A part si t'as des métiers que tu veux pas montrer)
Je jobs.lua et le disabled_defaults.lua ne sont pas les même fichiers .

le fichier ci-dessous est le jobs.lua :

--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.

The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields


Add jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITOYEN = DarkRP.createJob("Citoyen", {
color = Color(8, 0, 0, 255),
model = {
"models/player/mossman.mdl",
"models/player/Group01/female_01.mdl",
"models/player/Group01/female_02.mdl",
"models/player/Group01/female_03.mdl",
"models/player/Group01/female_04.mdl",
"models/player/Group01/female_05.mdl",
"models/player/Group01/female_06.mdl",
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_04.mdl",
"models/player/Group01/male_05.mdl",
"models/player/Group01/male_06.mdl",
"models/player/Group01/male_07.mdl",
"models/player/Group01/male_08.mdl",
"models/player/Group01/male_09.mdl"
},
description = [[Tu es un simple citoyen]],
weapons = {"keys", "pocket"},
command = "citoyen",
max = 25,
salary = 20 ,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citoyen",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
end
})

TEAM_POLICE = DarkRP.createJob("Motard de la police ", {
color = Color(47, 86, 227, 255),
model = {"models/player/leet.mdl"},
description = [[Tu es la brigade la plus rapide de la police ]],
weapons = {"m9k_sig_p229r", "weaponchecker", "arrest_stick", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "motard",
max = 3,
salary = 200,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(49)
end,
customCheck = function(ply) return CLIENT or

end,
CustomCheckFailMsg = "",
})

TEAM_GIGN = DarkRP.createJob("Commandant du GIGN", {
color = Color(17, 102, 102, 255),
model = {"models/player/riot.mdl"},
description = [[Tu es le commandant du GIGN ]],
weapons = {"m9k_m4a1", "m9k_deagle", "weaponchecker", "arrest_stick", "door_ram", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "commandant",
max = 1,
salary = 400,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 20,
["buckshot"] = 20,
["smg1"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(100)
end,
customCheck = function(ply) return CLIENT or

end,
CustomCheckFailMsg = "",
})











--[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN


--[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_MAYOR] = true,
}

--[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_MOB)
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Tu t'embrouillles la car jobs.lua ligne 78 il n'y a pas ça :
--[[---------------------------------------------------------------------------
Entities
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["entities"] = {
["Drug lab"] = false,
["Gun lab"] = false,
["Money printer"] = false,
["Microwave"] = false, --Hungermod only
}

Mais ça :

TEAM_POLICE = DarkRP.createJob("Motard de la police ", {
color = Color(47, 86, 227, 255),
model = {"models/player/leet.mdl"},
description = [[Tu es la brigade la plus rapide de la police ]],
weapons = {"m9k_sig_p229r", "weaponchecker", "arrest_stick", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "motard",
max = 3,
salary = 200,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(49)
end,
customCheck = function(ply) return CLIENT or

end,
CustomCheckFailMsg = "",
})
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Tu t'embrouillles la car jobs.lua ligne 78 il n'y a pas ça :
--[[---------------------------------------------------------------------------
Entities
---------------------------------------------------------------------------]]
DarkRP.disabledDefaults["entities"] = {
["Drug lab"] = false,
["Gun lab"] = false,
["Money printer"] = false,
["Microwave"] = false, --Hungermod only
}

Mais ça :

TEAM_POLICE = DarkRP.createJob("Motard de la police ", {
color = Color(47, 86, 227, 255),
model = {"models/player/leet.mdl"},
description = [[Tu es la brigade la plus rapide de la police ]],
weapons = {"m9k_sig_p229r", "weaponchecker", "arrest_stick", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "motard",
max = 3,
salary = 200,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 50
},
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(49)
end,
customCheck = function(ply) return CLIENT or

end,
CustomCheckFailMsg = "",
})
Je n'étais pas sur le bon fichier , autant pour moi
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Mais je ne suis pas sur que le problème vienne de la
 
ImWolfPlays

ImWolfPlays

jeune trill
Messages
593
Score réaction
154
Points
150
Salut, tu as aussi assmod sur ton serveur? je pense que ulx et assmod ensemble ça doit pas être très bien
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
ImWolfPlays à dit:
Salut, tu as aussi assmod sur ton serveur? je pense que ulx et assmod ensemble ça doit pas être très bien
Je viens de le virer et je vais regarder si ça se regle
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Ça ne marche malheureusement pas
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Nan mais customCheck = function(ply) return CLIENT or <-- Custom Check incomplet

Et met les customcheck avant le premier end et enleve en un
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Par contre quand je tape la commande ulx adduser (mon pseudo) superadmin dans la console coté client un message apparait :


[ERROR] Unauthed player
1. query - [C]:-1
2. fn - addons/ulx/lua/ulx/xgui/bans.lua:519
3. fn - addons/ulib/lua/ulib/shared/hook.lua:109
4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
5. unknown - lua/includes/extensions/net.lua:32


[ERROR] Unauthed player
1. query - [C]:-1
2. processModules - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:235
3. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:523
4. Call - addons/ulib/lua/ulib/shared/hook.lua:109
5. fn - addons/ulib/lua/ulib/cl_init.lua:58
6. func - addons/ulib/lua/ulib/client/cl_util.lua:22
7. unknown - lua/includes/extensions/net.lua:32

Je pense que mon problème vient de la mais je n'en suis pas sur
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Nan mais customCheck = function(ply) return CLIENT or <-- Custom Check incomplet

Et met les customcheck avant le premier end et enleve en un
Je n'ai pas compris de quoi tu veux parler .
Il s'agit de choses dans le fichier jobs.lua ?
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Gogo33700 à dit:
Je n'ai pas compris de quoi tu veux parler .
Il s'agit de choses dans le fichier jobs.lua ?
Oui
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Fait mais ça ne règle toujours pas mon problème
Au moins je n'ai plus mon erreur lua
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Gogo33700 à dit:
Fait mais ça ne règle toujours pas mon problème
Au moins je n'ai plus mon erreur lua
Ah oui j'en avait oublié ton problème je reviens après manger
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Ah oui j'en avait oublié ton problème je reviens après manger
up ?
 
cleprez

cleprez

Geek
Messages
96
Score réaction
6
Points
65
la commande que tu a faite au tout debut ses dans ta console du serveur pas une fois en jeu ^^
 
xLomble77

xLomble77

Psychopathe
Messages
2 191
Score réaction
348
Points
290
Bonjour, @Gogo33700

Je viens de tout lire y a beaucoup de problèmes partout, est-ce que tu sais configurer un serveur au moins ?

Ta première image ici :
https://image.noelshack.com/fichiers/2017/04/1485355948-rp-rockford-v1b0000.png

Indique que tu n'ai pas encore complètement connecté et synchronisé avec le serveur il te dit donc de ressayer un peu plus tard.

En suite, je rappelle que l'installation de ULX / ULIB via le panel de mTxServ est correct et les installations sont bien effectués et fonctionnent parfaitement, le problème vient donc de toi. En suite je rappelle que le TAB n'est pas en relation avec ULIX / ULIB ils sont relier mais ne vont pas ensemble, il s'agit du DarkRP, donc pour le TAB il y a un problème au niveau de ton DarkRP, je te conseille de l'installer avec le panel mTxServ, et de ne faire aucune modification et d'essayer.

______________

Si tu as toujours l'erreur ici :
Code:
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 78.
The best help I can give you is this:
Right before the 'end', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
Je t'invite à supprimer le contenu de ton jobs.lua entier et de mettre à la place ça :

Code:
--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.
Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.
The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Add jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citoyen", {
color = Color(8, 0, 0, 255),
model = {
"models/player/mossman.mdl",
"models/player/Group01/female_01.mdl",
"models/player/Group01/female_02.mdl",
"models/player/Group01/female_03.mdl",
"models/player/Group01/female_04.mdl",
"models/player/Group01/female_05.mdl",
"models/player/Group01/female_06.mdl",
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_04.mdl",
"models/player/Group01/male_05.mdl",
"models/player/Group01/male_06.mdl",
"models/player/Group01/male_07.mdl",
"models/player/Group01/male_08.mdl",
"models/player/Group01/male_09.mdl",
},
description = [[Tu es un simple citoyen]],
weapons = {"keys", "pocket"},
command = "citoyen",
max = 25,
salary = 20,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizen",
})
TEAM_POLICE = DarkRP.createJob("Motard de la police ", {
color = Color(47, 86, 227, 255),
model = {"models/player/leet.mdl"},
description = [[Tu es la brigade la plus rapide de la police ]],
weapons = {"m9k_sig_p229r", "weaponchecker", "arrest_stick", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "motard",
max = 3,
salary = 200,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 50
},
category = "Civil Protection",
PlayerLoadout = function(ply) ply:SetArmor(100) end,
PlayerLoadout = function(ply) ply:SetHealth(100) end,
})
TEAM_GIGN = DarkRP.createJob("Commandant du GIGN", {
color = Color(17, 102, 102, 255),
model = {"models/player/riot.mdl"},
description = [[Tu es le commandant du GIGN ]],
weapons = {"m9k_m4a1", "m9k_deagle", "weaponchecker", "arrest_stick", "door_ram", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "commandant",
max = 1,
salary = 400,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 20,
["buckshot"] = 20,
["smg1"] = 50
},
category = "Civil Protection",
PlayerLoadout = function(ply) ply:SetArmor(100) end,
PlayerLoadout = function(ply) ply:SetHealth(100) end,
})
--[[---------------------------------------------------------------------------
Définissez ici le métier auquel le joueur sera ajouté lors de sa connexion.
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN
--[[---------------------------------------------------------------------------
Définissez ici les métiers qui font partie de la police.
Les métiers qui seront ajoutés ici pourront mettre des mandats et des avis de recherche.
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = { [TEAM_POLICE] = true, [TEAM_GIGN] = true,
}
--[[---------------------------------------------------------------------------
Ici vous pouvez définir le métier qui sera tueur à gages.
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_GAGES)
Normalement tu n'auras plus aucun bugs, si tu en as je t'invite à me donner l'erreur dans ta console.

N'hésite pas à mettre un poce bleu :)
Cordialement,
Alexandre
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
@xLomble77 J'avais réglé son probleme pour l'erreur :p

Mais pas ulx ^^
 
xLomble77

xLomble77

Psychopathe
Messages
2 191
Score réaction
348
Points
290
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
xLomble77 à dit:
Bah il avait dit ça :
Regarde a la page 2 ^^

Il avait répondu ça a ImWolfPlays
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
xLomble77 à dit:
Bonjour, @Gogo33700

Je viens de tout lire y a beaucoup de problèmes partout, est-ce que tu sais configurer un serveur au moins ?

Ta première image ici :
https://image.noelshack.com/fichiers/2017/04/1485355948-rp-rockford-v1b0000.png

Indique que tu n'ai pas encore complètement connecté et synchronisé avec le serveur il te dit donc de ressayer un peu plus tard.

En suite, je rappelle que l'installation de ULX / ULIB via le panel de mTxServ est correct et les installations sont bien effectués et fonctionnent parfaitement, le problème vient donc de toi. En suite je rappelle que le TAB n'est pas en relation avec ULIX / ULIB ils sont relier mais ne vont pas ensemble, il s'agit du DarkRP, donc pour le TAB il y a un problème au niveau de ton DarkRP, je te conseille de l'installer avec le panel mTxServ, et de ne faire aucune modification et d'essayer.

______________

Si tu as toujours l'erreur ici :
Code:
[ERROR] Lua is unable to understand file "darkrp_customthings/jobs.lua" because its author made a mistake around line number 78.
The best help I can give you is this:
Right before the 'end', Lua encountered something it could not make sense of.
Hints:
- Did you forget something here? (Perhaps a closing bracket)
- Is it a typo?
------- End of Simplerr error -------
Je t'invite à supprimer le contenu de ton jobs.lua entier et de mettre à la place ça :

Code:
--[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.
Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you've done that, copy and paste the job to this file and edit it.
The default jobs can be found here:
https://github.com/FPtje/DarkRP/blob/master/gamemode/config/jobrelated.lua
For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Add jobs under the following line:
---------------------------------------------------------------------------]]
TEAM_CITIZEN = DarkRP.createJob("Citoyen", {
color = Color(8, 0, 0, 255),
model = {
"models/player/mossman.mdl",
"models/player/Group01/female_01.mdl",
"models/player/Group01/female_02.mdl",
"models/player/Group01/female_03.mdl",
"models/player/Group01/female_04.mdl",
"models/player/Group01/female_05.mdl",
"models/player/Group01/female_06.mdl",
"models/player/Group01/male_01.mdl",
"models/player/Group01/male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/male_04.mdl",
"models/player/Group01/male_05.mdl",
"models/player/Group01/male_06.mdl",
"models/player/Group01/male_07.mdl",
"models/player/Group01/male_08.mdl",
"models/player/Group01/male_09.mdl",
},
description = [[Tu es un simple citoyen]],
weapons = {"keys", "pocket"},
command = "citoyen",
max = 25,
salary = 20,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Citizen",
})
TEAM_POLICE = DarkRP.createJob("Motard de la police ", {
color = Color(47, 86, 227, 255),
model = {"models/player/leet.mdl"},
description = [[Tu es la brigade la plus rapide de la police ]],
weapons = {"m9k_sig_p229r", "weaponchecker", "arrest_stick", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "motard",
max = 3,
salary = 200,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 50
},
category = "Civil Protection",
PlayerLoadout = function(ply) ply:SetArmor(100) end,
PlayerLoadout = function(ply) ply:SetHealth(100) end,
})
TEAM_GIGN = DarkRP.createJob("Commandant du GIGN", {
color = Color(17, 102, 102, 255),
model = {"models/player/riot.mdl"},
description = [[Tu es le commandant du GIGN ]],
weapons = {"m9k_m4a1", "m9k_deagle", "weaponchecker", "arrest_stick", "door_ram", "keys", "pocket", "unarrest_stick", "stunstick"},
command = "commandant",
max = 1,
salary = 400,
admin = 0,
vote = true,
hasLicense = true,
candemote = false,
ammo = {
["pistol"] = 20,
["buckshot"] = 20,
["smg1"] = 50
},
category = "Civil Protection",
PlayerLoadout = function(ply) ply:SetArmor(100) end,
PlayerLoadout = function(ply) ply:SetHealth(100) end,
})
--[[---------------------------------------------------------------------------
Définissez ici le métier auquel le joueur sera ajouté lors de sa connexion.
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN
--[[---------------------------------------------------------------------------
Définissez ici les métiers qui font partie de la police.
Les métiers qui seront ajoutés ici pourront mettre des mandats et des avis de recherche.
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = { [TEAM_POLICE] = true, [TEAM_GIGN] = true,
}
--[[---------------------------------------------------------------------------
Ici vous pouvez définir le métier qui sera tueur à gages.
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_GAGES)
Normalement tu n'auras plus aucun bugs, si tu en as je t'invite à me donner l'erreur dans ta console.

N'hésite pas à mettre un poce bleu :)
Cordialement,
Alexandre
Merci pour ta réponse .
Au niveau du codage , ce n'est pas mon premier serveur je te rassure ;)
Au niveau de ulx/ulib , tout est installé depuis le panel mtx . J'ai déjà désinstallé et réinstallé les plugins ulx/ulib en vain (tout est correct dans le fichier user.txt et le commande ulx adduser (mon pseudo) superadmin à déjà été faite. En fait je suis bien superadmin de mon serveur au niveau ulx/ulib et fadmin ( je reviens dessus après) sauf pour le !menu ou ça ne marche pas.
Pour le menu tab , c'est enfaite Fadmin qui s'occupe de ça , je l'ai déjà désinstallé et réinstallé en vain (je suis aussi suparadmin du coté de fadmin).
Pour le jobs.lua, je vais tester et je te tiens au courant
Cordialement ,
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
MathiouGaming à dit:
Regarde a la page 2 ^^

Il avait répondu ça a ImWolfPlays
J'ai changé le jobs.lua , le menu tab refonctionne mais toujours pas le !menu :/
Par contre maintenant j'ai 23 erreurs lua xD
Voici la liste complète :

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citizen" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Civil Protection" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Gun Dealer" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Medic" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Civil Protection Chief" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Mayor" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Hobo" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citoyen" ("Citizen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Drug lab" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Money printer" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Gun lab" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "AK47" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "MP5" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "M4" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "Mac 10" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "Pump shotgun" ("Fusils a pompe") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Desert eagle" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Fiveseven" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Glock" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "P228" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Pistol ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Shotgun ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Rifle ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------
 
MathiouGaming

MathiouGaming

Geek suprême
Messages
376
Score réaction
99
Points
150
Gogo33700 à dit:
J'ai changé le jobs.lua , le menu tab refonctionne mais toujours pas le !menu :/
Par contre maintenant j'ai 23 erreurs lua xD
Voici la liste complète :

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citizen" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Civil Protection" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Gun Dealer" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Medic" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Civil Protection Chief" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Mayor" ("Gouvernement") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Hobo" ("Citoyen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your jobs" on line -1.
The best help I can give you is this:

The category of "Citoyen" ("Citizen") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your jobs
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Drug lab" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Money printer" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom entities" on line -1.
The best help I can give you is this:

The category of "Gun lab" ("Entites") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom entities
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "AK47" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "MP5" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "M4" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "Mac 10" ("Fusils d'assaut") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom shipments" on line -1.
The best help I can give you is this:

The category of "Pump shotgun" ("Fusils a pompe") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom shipments
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Desert eagle" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Fiveseven" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "Glock" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom weapons" on line -1.
The best help I can give you is this:

The category of "P228" ("Pistolets") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom weapons
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Pistol ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Shotgun ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------

[ERROR] A runtime error has occurred in "your custom ammo" on line -1.
The best help I can give you is this:

The category of "Rifle ammo" ("Munitions") does not exist!

Hints:
- Make sure the category is created with DarkRP.createCategory.
- The category name is case sensitive!
- Categories must be created before DarkRP finished loading.

The responsibility for the error above lies with (the authors of) one (or more) of these files:
your custom ammo
------- End of Simplerr error -------

Tu n'as pas créé les category ^^ Cherche un tuto sur le forum il doit y'en avoir un
 
  • Initiateur de la discussion
G

Gogo33700

Geek suprême
Messages
248
Score réaction
12
Points
110
Bonne nouvelle ! Mon !menu remarche mais le menu tab est celui du darkrp :(
 
Discord d'entraide
Rejoignz-nous sur Discord