Changed overrideHealth
This commit is contained in:
parent
93c3518370
commit
97e72b3143
@ -38,6 +38,10 @@ namespace pdHealth
|
||||
{
|
||||
Ped pl = Player.Character;
|
||||
|
||||
if (overrideHealth != -1) {
|
||||
//if (pl.Health > overrideHealth) { Player.MaxHealth = overrideHealth; pl.Health = overrideHealth; }
|
||||
if (pl.Health > overrideHealth) { pl.Health = overrideHealth; }
|
||||
}
|
||||
if (pl.isAlive == false) {
|
||||
armorVal = -1;
|
||||
healthVal = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user