Frage von TheStupidIdiot, 25

[GMOD] Coding Hilfe?

Hallo, ich hab jetzt schon seit 2 Tagen versucht diese Jobs hier zu coden. Wenn ich aber F4 drücke sind da aber keine Jobs. Also werden nicht angezeigt.

Hier sind die Codes die ich benutzte:

TEAM_1STINFPVT = DarkRP.createJob("1st Infantry Division Private", { color = Color(11, 155, 26, 255), model = {"models/usmc8pm.mdl"}, description = [[You passed training, well done.]], weapons = {weapon_wf_garand}, command = "1stinfpvt", max = 20, salary = 0, admin = 0, vote = false, hasLicense = false, candemote = false, -- CustomCheck medic = false, chief = false, mayor = false, hobo = false, cook = false, category = "1st Infantry Division", })

Und die "categories" des Jobs ist das hier:

DarkRP.createCategory{ name = "1st Infantry Division", categorises = "jobs", startExpanded = false, color = Color(50, 255, 0, 255), canSee = function(ply) return true end, sortOrder = 2, }

Antwort
von elitelukas, 3

Versuchs mal damit:

TEAM_1STINFPVT = DarkRP.createJob("1st Infantry Division Private", {

color = Color(0, 71, 255, 255),
model = {"models/usmc8pm.mdl"},
description = [[description]],
weapons = {weapon_wf_garand},
command = "1stinfpvt",
max = 20,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = "1stinfdiv",
})

DarkRP.createCategory{
name = "1stinfdiv",
categorises = "jobs",
startExpanded = true,
color = Color(5, 0, 255, 255),
canSee = function(ply) return true end,
sortOrder = 2,
}

Keine passende Antwort gefunden?

Fragen Sie die Community

Weitere Fragen mit Antworten