Job

  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
J'ai créer ce JOB ci-dessous et quand je vais dans mon f4 que je sélectionne le job sa met : Job unavailable

--[[
Generated using: DarkRP | Job Generator
https://csite.io/tools/gmod-darkrp-job
--]]
TEAM_PSYCHOPATHE = DarkRP.createJob("Prisonnier psychopathe", {
color = Color(255, 120, 1, 255),
model = {
"models/jbarnes/player/prisoners/jumpsuitm1.mdl",
"models/jbarnes/player/prisoners/jumpsuitm2.mdl",
"models/jbarnes/player/prisoners/jumpsuitm3.mdl",
"models/jbarnes/player/prisoners/jumpsuitm4.mdl",
"models/jbarnes/player/prisoners/jumpsuitm5.mdl",
"models/jbarnes/player/prisoners/jumpsuitm6.mdl",
"models/jbarnes/player/prisoners/jumpsuitm7.mdl",
"models/jbarnes/player/prisoners/jumpsuitm8.mdl",
"models/jbarnes/player/prisoners/jumpsuitm9.mdl"
},
description = [[Vous nourrissez vos pulsions meurtrières.]],
weapons = {"weapon_fists", "dab", "surrender", "m9k_knife"},
command = "psycho",
max = 2,
salary = 30,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Prisonniers",
PlayerSpawn = function(ply)
ply:SetMaxHealth(100)
ply:SetHealth(100)
ply:SetArmor(0)
end,
PlayerDeath = function(ply, weapon, killer)
ply:teamBan()
ply:changeTeam(GAMEMODE.DefaultTeam, true)
DarkRP.notifyAll(0, 4, "Un psychopathe est mort.")
end,
customCheck = function(ply)

end,
CustomCheckFailMsg = "",
})

Merci d'avance
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Or je peus me set team dans le métier en question et il y a tout (couteau,dab,surrender...)
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Code:
TEAM_PSYCHOPATHE = DarkRP.createJob("Prisonnier psychopathe", { color = Color(255, 120, 1, 255), model = { "models/jbarnes/player/prisoners/jumpsuitm1.mdl", "models/jbarnes/player/prisoners/jumpsuitm2.mdl", "models/jbarnes/player/prisoners/jumpsuitm3.mdl", "models/jbarnes/player/prisoners/jumpsuitm4.mdl", "models/jbarnes/player/prisoners/jumpsuitm5.mdl", "models/jbarnes/player/prisoners/jumpsuitm6.mdl", "models/jbarnes/player/prisoners/jumpsuitm7.mdl", "models/jbarnes/player/prisoners/jumpsuitm8.mdl", "models/jbarnes/player/prisoners/jumpsuitm9.mdl" }, description = [[Vous nourrissez vos pulsions meurtrières.]], weapons = {"weapon_fists", "dab", "surrender", "m9k_knife"}, command = "psycho", max = 2, salary = 30, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Prisonniers", PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "Un psychopathe est mort.") end,
})
Ta créé ta catégorie : "Prisonniers" ?
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
thepsyca à dit:
Code:
TEAM_PSYCHOPATHE = DarkRP.createJob("Prisonnier psychopathe", { color = Color(255, 120, 1, 255), model = { "models/jbarnes/player/prisoners/jumpsuitm1.mdl", "models/jbarnes/player/prisoners/jumpsuitm2.mdl", "models/jbarnes/player/prisoners/jumpsuitm3.mdl", "models/jbarnes/player/prisoners/jumpsuitm4.mdl", "models/jbarnes/player/prisoners/jumpsuitm5.mdl", "models/jbarnes/player/prisoners/jumpsuitm6.mdl", "models/jbarnes/player/prisoners/jumpsuitm7.mdl", "models/jbarnes/player/prisoners/jumpsuitm8.mdl", "models/jbarnes/player/prisoners/jumpsuitm9.mdl" }, description = [[Vous nourrissez vos pulsions meurtrières.]], weapons = {"weapon_fists", "dab", "surrender", "m9k_knife"}, command = "psycho", max = 2, salary = 30, admin = 0, vote = false, hasLicense = false, candemote = false, category = "Prisonniers", PlayerDeath = function(ply, weapon, killer) ply:teamBan() ply:changeTeam(GAMEMODE.DefaultTeam, true) DarkRP.notifyAll(0, 4, "Un psychopathe est mort.") end,
})
Ta créé ta catégorie : "Prisonniers" ?
Oui
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Ta pas une erreur dans ta console I-G / serveur ?
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Mais mes Job je l'ai fais sur TheCoddingBest est ce que cela change quelque chose
Sinon je regarde pour les lua error
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Y a cela
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'ChatFont'!
Failed creating font 'Default'!
Failed creating font 'Default'!
Failed to load sound "ambient\wind\dry_air_short.wav", file probably missing from disk/repository
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Matt59 à dit:
Y a cela
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'ChatFont'!
Failed creating font 'Default'!
Failed creating font 'Default'!
Failed to load sound "ambient\wind\dry_air_short.wav", file probably missing from disk/repository
Rien d'autres ?
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Error: Patch material "maps/rp_etonya_v3a/plaster/offwllc_-12156_136_-1257" encountered an error
Failed to load $include VMT file (materials/PLASTER/OFFWLLC.vmt)
Error: Patch material "maps/rp_etonya_v3a/plaster/offwllc_-11936_160_-1257" encountered an error
Failed to load $include VMT file (materials/PLASTER/OFFWLLC.vmt)
Error: Patch material "maps/rp_etonya_v3a/plaster/offwllc_-11800_336_-1257" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_-4240_1216_1152" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_1328_2618_318" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_1648_2618_286" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_653_2554_327" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_461_2618_311" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_248_4408_196" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_472_4280_196" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_664_4280_196" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_632_4472_196" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_696_4472_324" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_440_4664_180" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_248_4536_196" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_248_4472_324" encountered an error
Failed to load $include VMT file (materials/GLASS/PRODWNDWA.vmt)
Error: Patch material "maps/rp_etonya_v3a/glass/prodwndwa_568_4344_324" encountered an error
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/models/weapons/v_physcannon/v_physcannon_sheet.vmt
VertexLitGeneric,


Compact freed 462848 bytes


---------------------------------------------------------------------------
DarkRP Message of the day!
---------------------------------------------------------------------------
DarkRP servers have changed over the years. Back in the day it was much more
focussed around building things and fooling around, doing the silliest
possible things. Currently the focus appears to have shifted towards raiding,
mugging and hitmen. There are many complaints about this, including from me.
DarkRP is much less fun than it used to be. The rules are too strict and leave
no room for creative roleplay. Players bitch too much about rules being broken
and admins are way too fucking keen on putting players on a roof when even the
slightest thing is beyond the precise protocol they are convinced the players
are to adhere to.

I've written a document on what I think is THE formula for a GOOD DarkRP
server. Please check it out:

https://docs.google.com/document/d/10pvotowOA3EA7K5BMgdaKVOYjbrbx6dxrQn4LWxm30A

UPDATE: Also do check out the slightly alternative view from Dogman_35. It's a
somewhat bigger read, but it shows some deeper insight and some criticism on
my own ideas: https://steamcommunity.com/sharedfiles/filedetails/?id=739536389


Also, remember that glualint-web is a thing and can tell you what's wrong with
your jobs and shipments (mostly):

https://fptje.github.io/glualint-web/
---------------------------------------------------------------------------
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'Advent Pro Light'!
Failed creating font 'ChatFont'!
Failed creating font 'Default'!
Failed creating font 'Default'!
Failed to load sound "ambient\wind\dry_air_short.wav", file probably missing from disk/repository
Redownloading all lightmaps
[Arivia] All scripts will be getting an official update soon, keep checking gmodstore.com for a release of this script.
Can't load 'quick', file missing!
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Une idée ?
 
V

Voltra

Geek
Messages
166
Score réaction
4
Points
60
ply:changeTeam(GAMEMODE.DefaultTeam, true) Que veut dire cette ligne? Si tu ne sais pas je me demandes si elle dit qu'il faut avoir le métier de base pour pouvoir changer de job
 
thepsyca

thepsyca

Psychopathe
Messages
2 164
Score réaction
648
Points
365
Voltra à dit:
ply:changeTeam(GAMEMODE.DefaultTeam, true) Que veut dire cette ligne? Si tu ne sais pas je me demandes si elle dit qu'il faut avoir le métier de base pour pouvoir changer de job
PlayerDeath
Sa te set team GAMEMODE.DefaultTeam quand tu meurt avec le job ^^
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
j'en sais rien mais je peus mettre false et tester
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Je vois vraiment pas car j'ai fais comme mes autres job le seul truc qui change c'est l'arme i lne faut pas créer une catégorie / shipments ...
 
V

Voltra

Geek
Messages
166
Score réaction
4
Points
60
thepsyca à dit:
PlayerDeath
Sa te set team GAMEMODE.DefaultTeam quand tu meurt avec le job ^^
Ah mdr faut que je m'entraine vraiment au glua moi
/me court loin, très loin
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Bon beh ...
 
V

Voltra

Geek
Messages
166
Score réaction
4
Points
60
Matt59 à dit:
Tu n'aurais pas fais du C/C avec les métiers et lublié de changer la command pour un métier?
 
  • Initiateur de la discussion
M

Matt59

Geek
Messages
191
Score réaction
12
Points
80
Voltra à dit:
Tu n'aurais pas fais du C/C avec les métiers et lublié de changer la command pour un métier?
Non tout est différent sauf 1 genre c'est TEAM_PSYCHOPATHE et en command c'était psychopathe sa change ?
 
V

Voltra

Geek
Messages
166
Score réaction
4
Points
60
Matt59 à dit:
Non tout est différent sauf 1 genre c'est TEAM_PSYCHOPATHE et en command c'était psychopathe sa change ?
Tu ne peux pas avoir de mêmes team change et dis moi ce que sa donne
 
Discord d'entraide
Rejoignz-nous sur Discord