Résolu A l'aide !

  • Initiateur de la discussion Nealy_T
  • Date de début
  • Initiateur de la discussion
N

Nealy_T

Nouveau né
Messages
11
Score réaction
0
Points
25
Bonjour j'ai une erreur Lua mais je ne la trouve pas Pourriez vous m'aidez ?

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

Right before the '=', 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 -------

[ERROR] A runtime error has occurred in "gamemodes/darkrp/gamemode/modules/base/sv_data.lua" on line 433.
The best help I can give you is this:

Failed to retrieve player information from the database.

Hints:
- This means your database or the connection to your database is fucked.
- This is the error given by the database:
no such table: playerinformation

The responsibility for the error above lies with (the authors of) one (or more) of these files:
1. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 433
2. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 321
3. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 297
4. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 264
5. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 318
6. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 321
7. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 297
8. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 264
9. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 318
10. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 321
11. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 297
12. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 264
13. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 318
14. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 321
15. gamemodes/darkrp/gamemode/libraries/mysqlite/mysqlite.lua on line 297
16. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 264
17. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 318
18. gamemodes/darkrp/gamemode/modules/base/sv_data.lua on line 403
19. gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua on line 614
------- End of Simplerr error -------


TEAM_RM1 = DarkRP.createJob("Recrues Marines")
color = Color(0, 7, 143, 43)
model = {
"models/ishi/halo_rebirth/player/offduty/female/offduty_bella.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_dominique.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_faridah.mdl3",
"models/ishi/halo_rebirth/player/offduty/female/offduty_ltd.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_kalli.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_danlin.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_eyecberg.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_g_yasser.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_jeffrey.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_g_john.mdl"
},
description = [[ Vous êtes une Recrues Marines.]],
weapons = {"tfa_ishi_m6", "garde_a_vousv1.2", "wep_jack_job_drpradio"},
command = "RMRS",
max = 0,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Marines",
PlayerSpawn = function(ply)
ply:SetMaxHealth(150)
ply:SetHealth(150)
ply:SetArmor(150)
end
 
NoaGamingFR

NoaGamingFR

Wait :)
Messages
3 650
Score réaction
625
Points
340
Code:
TEAM_RM1 = DarkRP.createJob("Recrues Marines", {
color = Color(0, 7, 143, 43),
model = "models/ishi/halo_rebirth/player/offduty/female/offduty_bella.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_dominique.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_faridah.mdl3",
"models/ishi/halo_rebirth/player/offduty/female/offduty_ltd.mdl",
"models/ishi/halo_rebirth/player/offduty/female/offduty_kalli.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_danlin.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_eyecberg.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_g_yasser.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_jeffrey.mdl",
"models/ishi/halo_rebirth/player/offduty/male/offduty_g_john.mdl",
description = [[Vous êtes une Recrues Marines. ]],
weapons = {"tfa_ishi_m6", "garde_a_vousv1.2", "wep_jack_job_drpradio"},
command = "RMRS",
max = 0,
salary = 300,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Marines",
PlayerSpawn = function(ply) ply:SetMaxHealth(150) ply:SetHealth(150) ply:SetArmor(150)
end
})
La prochaine fois, merci de bien vouloir vérifier votre job en le comparant à un autre métier.
 
  • Initiateur de la discussion
N

Nealy_T

Nouveau né
Messages
11
Score réaction
0
Points
25
Daccord Désoler Je suis Nouveau dans ca mais Enorme merci !
 
NoaGamingFR

NoaGamingFR

Wait :)
Messages
3 650
Score réaction
625
Points
340
Nealy_T à dit:
Daccord Désoler Je suis Nouveau dans ca mais Enorme merci !
Pas de soucis, à la prochaine :)
 
Discord d'entraide
Rejoignz-nous sur Discord