Add max armour #61
This commit is contained in:
parent
0493aca3a8
commit
e1c7ec9e6f
@ -239,6 +239,7 @@
|
|||||||
"LockControl": "Lock control",
|
"LockControl": "Lock control",
|
||||||
"LungCapacity": "Lung capacity",
|
"LungCapacity": "Lung capacity",
|
||||||
"MaxAppeal": "Max sex appeal",
|
"MaxAppeal": "Max sex appeal",
|
||||||
|
"MaxArmour" : "Max armour",
|
||||||
"MaxHealth": "Max health",
|
"MaxHealth": "Max health",
|
||||||
"MeeleProof": "Meele proof",
|
"MeeleProof": "Meele proof",
|
||||||
"MegaJump": "Mega jump",
|
"MegaJump": "Mega jump",
|
||||||
|
@ -578,7 +578,7 @@ void Player::ShowPage()
|
|||||||
{
|
{
|
||||||
ImGui::BeginChild("PlayerMenus");
|
ImGui::BeginChild("PlayerMenus");
|
||||||
|
|
||||||
Ui::EditReference(TEXT("Player.Armour"), pPlayer->m_fArmour, 0, 100, 150);
|
Ui::EditReference(TEXT("Player.Armour"), pPlayer->m_fArmour, 0, 100, pInfo->m_nMaxArmour);
|
||||||
#ifdef GTASA
|
#ifdef GTASA
|
||||||
if (ImGui::CollapsingHeader(TEXT("Player.Body")))
|
if (ImGui::CollapsingHeader(TEXT("Player.Body")))
|
||||||
{
|
{
|
||||||
@ -627,6 +627,8 @@ void Player::ShowPage()
|
|||||||
Ui::EditReference(TEXT("Player.Health"), pPlayer->m_fHealth, 0, 100, BY_GAME(static_cast<int>(pPlayer->m_fMaxHealth), 100, 100));
|
Ui::EditReference(TEXT("Player.Health"), pPlayer->m_fHealth, 0, 100, BY_GAME(static_cast<int>(pPlayer->m_fMaxHealth), 100, 100));
|
||||||
#ifdef GTASA
|
#ifdef GTASA
|
||||||
Ui::EditStat(TEXT("Player.LungCapacity"), STAT_LUNG_CAPACITY);
|
Ui::EditStat(TEXT("Player.LungCapacity"), STAT_LUNG_CAPACITY);
|
||||||
|
|
||||||
|
Ui::EditReference(TEXT("Player.MaxArmour"), pInfo->m_nMaxArmour, 0, 100, 255);
|
||||||
Ui::EditStat(TEXT("Player.MaxHealth"), STAT_MAX_HEALTH, 0, 569, 1450);
|
Ui::EditStat(TEXT("Player.MaxHealth"), STAT_MAX_HEALTH, 0, 569, 1450);
|
||||||
Ui::EditAddress<int>(TEXT("Player.Money"), 0xB7CE50, -99999999, 0, 99999999);
|
Ui::EditAddress<int>(TEXT("Player.Money"), 0xB7CE50, -99999999, 0, 99999999);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user