Me and a friend are making a Star WarsRP server and we are making it so health
is above 100 but we only do that for certain roles we are able to set the health of the player when they first switch to the job but one major issue we are receiving is not being able to heal the player above 100 health.
TEAM_41TROOPER = DarkRP.createJob("41st Trooper", {
color = Color(153, 255, 255, 255),
model = {"models/wpclonetrooper2.mdl"},
description = [[The basic trooper of the 41st Regiment]],
command = "41t",
weapons = {"climb_swep2","weapon_752_dc15a"},
max = 0,
salary = 10,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return PlychangeAllowed(ply,"41st Trooper") end,
customCheckFailMsg = "You are not whitelisted for this job!",
category = "41st",
PlayerLoadout = function(ply) ply:SetMaxHealth(150) end,
PlayerLoadout = function(ply) ply:SetHealth(150) end
})
That code sets the health when they switch to the job but we can't heal any higher than 100.
What I am asking is that someone tells me how to set the health of each job so we can heal them back up to a set health amount with the darkrp utility med kit.