Skip to content

Uncap Ped Health from 100 to any amount #4172

Open
@AlfredoAnonym

Description

@AlfredoAnonym

Is your feature request related to a problem? Please describe.

Hello there!

I wanted to do my own iteration of Misterix script, that would work rather simple - you'd have missions to accept, and peds would spawn with sloth bot (or without it, if it would cause problems). Sloth bot works just fine, and everything else works. The problem is with the health. No matter what I do (or maybe I'm too inexperienced) and with the even help of an AI i can't seem to get rid of the 100 health cap

Can you possibly lift the Ped Health cap? Also I tried to change ped health in the editor and it also caps it to 100, and yes i can change it in the .map file but it still remains unchanged in game

Can you also explain, is this maybe my MTA version issue? Like map editor issue or something?

I will also send you the script to analyze it, I'd be thrilled to have an answer and if someone from the staff can help me overcoming this problem I'd be very happy!

(ps.: Tried to trick it, with showing Damage Taken and making the damage "fake" so it would reset the health every time, so the ped would be invincible, but in debug it would go down, and if it would reach 100 health, then it would stop resetting and the ped would be able to get killed)

https://www.mediafire.com/file/dn2o8ixurh85r9j/misterx2.zip/file

Describe the solution you'd like

  • Uncap the health to created peds (with or without slothbot) to a random amount. I tried to set 50000 for my script

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions