fix: Health decuction while in god mode (#2398)

Closes #2164
Closes #2397
Closes #2399
This commit is contained in:
gir489
2023-11-09 04:34:00 -05:00
committed by GitHub
parent 93dea3bebc
commit 3b714f5c67
5 changed files with 16 additions and 29 deletions

View File

@ -40,7 +40,5 @@ namespace big
}
components::command_checkbox<"blackout">();
components::command_checkbox<"groundsnow">();
}
}

View File

@ -46,7 +46,7 @@ namespace big
if (!PED::IS_PED_A_PLAYER(ped))
{
auto relation = PED::GET_RELATIONSHIP_BETWEEN_PEDS(ped, self::ped);
if (relation == 4 || relation == 5)
if (relation == 4 || relation == 5 || relation == 3)
ped::kill_ped(ped);
}
}