Hello,
I am making a custom version of DarkRP, and I have Job NPCs. One problem is, I cant get it so that when they are "hired" by the NPC, it will always change your model. I tried;
TEAM_TAXI = DarkRP.createJob("Taxi Driver", {
color = Color(255, 245, 0, 255),
model = {""},
description = [[Taxi Driver]],
weapons = {},
command = "taxi",
max = 0,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
category = "Taxi"
})
but that was just an error. Would it work if I just removed
model = {""},
Anywho, I am now lost. What should I do?
Try adding PlayerSetModel function (https://wiki.darkrp.com/index.php/DarkRP:CustomJobFields)
PlayerSetModel = function(ply)
return ply:GetModel()
end
I don't know if it will work
DarkRP modification's /darkrp_config/settings.lua line 95 has this exact setting.
No no no.
I dont want them to choose their playermodel from the Context Menu. I want them to use the model that they chose from the Character Menu.
Sorry, you need to Log In to post a reply to this thread.