fix: Health decuction while in god mode (#2398)
Closes #2164 Closes #2397 Closes #2399
This commit is contained in:
@ -40,7 +40,5 @@ namespace big
|
||||
}
|
||||
|
||||
components::command_checkbox<"blackout">();
|
||||
|
||||
components::command_checkbox<"groundsnow">();
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user