For some reason unknown to me and my other friends, job scaling no longer works how it states so in the wiki for Dark RP.
TEAM_B2DROID = DarkRP.createJob("B2 Super Battle Droid", {
color = Color(128, 128, 128, 255),
model = {"models/player/hydro/b2_battledroid/b2_battledroid.mdl"},
description = [[B2 super battle droids, simply known as super battle droids, were an advanced battle droid used by the Confederacy of Independent Systems during the Clone Wars]],
weapons = {"rw_sw_b2rp_blaster"},
command = "B2W",
max = 4,
salary = 0,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "B2 Super Battle Droids",
playerScale = 1.2,
modelScale = 1.2,
PlayerSpawn = function(ply)
ply:SetHealth(150)
ply.HaloArmor=40
ply:SetMaxHealth(150)
ply:SetWalkSpeed(100)
ply:SetRunSpeed(160)
end
})
I've done things like removing the playerscale and vice versa, but to no effect, despite this very same command working on past servers before the April GMOD update. We also tried a different version of the scaling command to no affect down below.
-- B2 Super Battle Droid
TEAM_B2DROID = DarkRP.createJob("B2 Super Battle Droid", {
color = Color(128, 128, 128, 255),
model = {"models/player/hydro/b2_battledroid/b2_battledroid.mdl"},
description = [[B2 super battle droids, simply known as super battle droids, were an advanced battle droid used by the Confederacy of Independent Systems during the Clone Wars]],
weapons = {"rw_sw_b2rp_blaster"},
command = "B2W",
max = 4,
salary = 0,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
category = "B2 Super Battle Droids",
PlayerSpawn = function(ply)
ply:SetHealth(150)
ply.HaloArmor=40
ply:SetMaxHealth(150)
ply:SetWalkSpeed(100)
ply:SetRunSpeed(160)
ply:SetModelScale(1.2)
end
})
I'm sorry if there is an obvious solution to this issue, but I have yet to find it. The jobs work perfect even with these lines in the code, 0 script errors etc.
Sorry, you need to Log In to post a reply to this thread.