I want to limit the amount of hp for a medic because I think that with the amount of hp is a rambo medic: (Complain to the players from my server, it's hard to kill him (before I nq server and make the game more fair.) Skryp I who limits the amount of hp for medic but also reduces the hp other classes. and I want everyone to have equal, how to do?
hp = 140
function et_ClientSpawn(playerID, revived)
if revived == 1 or et.gentity_get(playerID, "sess.playerType") == 0 then return end
local weapon = et.gentity_get(playerID, "s.weapon")
et.gentity_set(playerID, "ps.stats", 0, hp)
et.gentity_set(playerID, "ps.ammo", weapon, ammo)