Hi I'm trying to figure out how to set the size of a job's/player's model in DarkRP jobs.lua?
I've got:
TEAM_VIPPLUS = DarkRP.createJob("Rocket Raccoon", {
color = Color(80, 45, 0, 255),
model = "models/zambie/rocket/rocket_raccoon.mdl",
description = [[Hey! Is that a Wakanda manufactured cyber arm?]],
weapons = {"weapon_medkit", "m9k_sticky_grenade", "inferno"},
command = "raccoon",
max = 1,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
hobo = false,
category = "VIP+",
PlayerLoadouts = function(ply)
ply:SetWalkSpeed(250)
ply:SetRunSpeed(390)
ply:SetModelScale(0.5, 0)
end
})
it seemingly does nothing.
TEAM_VIPPLUS = DarkRP.createJob("Rocket Raccoon", {
color = Color(80, 45, 0, 255),
model = "models/zambie/rocket/rocket_raccoon.mdl",
description = [[Hey! Is that a Wakanda manufactured cyber arm?]],
weapons = {"weapon_medkit", "m9k_sticky_grenade", "inferno"},
command = "raccoon",
max = 1,
salary = 150,
admin = 0,
vote = false,
hasLicense = true,
candemote = false,
hobo = false,
category = "VIP+",
modelScale = 0.5, -- built in
PlayerLoadouts = function(ply)
ply:SetWalkSpeed(250)
ply:SetRunSpeed(390)
end
})
darkrp has a built in job model scale, alternatively you could use PlayerSpawn and set the model size in there instead.
Sorry, you need to Log In to post a reply to this thread.