Jobs Not Spawning with the health I set after they die
1 replies, posted
I set the health of a job to 5000 and when they change to that job they get that health but when they die it resets back to 100 can anyone help me out? :3
thanks :3
TEAM_CTPLT = DarkRP.createJob("CTP Lieutenant", {
color = Color(255, 251, 0, 255),
model = {"models/Player/SGG/Starwars/clonetrooper_pilot.mdl"},
description = [[Congratulations You Are Now A Member Of The Clone Trooper Pilots!]],
weapons = {"weapon_752_dl44"},
command = "ctplt",
max = 4,
salary = 450,
admin = 0,
vote = false,
hasLicense = false,
category = "CTP",
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "ctp" end,
PlayerLoadout = function(ply) ply:SetHealth(5000) ply:GiveAmmo(5000, "ar2") end,
level = 50
-- Insert customCheck here if you have one and want one.
})
ok
Sorry, you need to Log In to post a reply to this thread.