_oncliententer script update

This commit is contained in:
EpicValor 2023-08-31 01:18:19 -05:00
parent e4b8a47120
commit e6bd2ef68d
3 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -13,7 +13,7 @@ sPrint =sPrint + "\n";
PrintString(sPrint);
SendMessageToPC(oPC,"User Details Recorded");
if (GetLocalInt(oPC,"PCDead")==1)
if (GetCurrentHitPoints(oPC)<=0)
{
effect eKill = EffectDeath(TRUE);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eKill,oPC);

Binary file not shown.