Changed overrideHealth

This commit is contained in:
Fierelier 2018-05-15 09:59:30 +02:00
parent 93c3518370
commit 97e72b3143

View File

@ -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;