More bug fixes (#1557)
Fixed nearby features affecting players and local ped. Removed faulty vehicle kick protection from can_apply Fixes #1540
This commit is contained in:
@ -28,7 +28,8 @@ namespace big
|
||||
components::button<ImVec2(110, 0), ImVec4(0.76078f, 0.f, 0.03529f, 1.f)>("Kill Enemies", [] {
|
||||
for (auto peds : entity::get_entities(false, true))
|
||||
{
|
||||
ped::kill_ped_by_relation(peds, 4 || 5);
|
||||
if (!PED::IS_PED_A_PLAYER(peds))
|
||||
ped::kill_ped_by_relation(peds, 4 || 5);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user