feat(Self): Added Heal (#285)

This commit is contained in:
Kim123LP 2022-06-25 22:03:43 +02:00 committed by GitHub
parent 6ef2a63f8c
commit 483ecd1384

View File

@ -11,6 +11,13 @@ namespace big
ImGui::SameLine();
components::button("Heal", [] {
ENTITY::SET_ENTITY_HEALTH(self::ped, PED::GET_PED_MAX_HEALTH(self::ped), 0);
PED::SET_PED_ARMOUR(self::ped, PLAYER::GET_PLAYER_MAX_ARMOUR(self::id));
});
ImGui::SameLine();
components::button("Skip Cutscene", [] {
CUTSCENE::STOP_CUTSCENE_IMMEDIATELY();
});