Jump to content

Armour Stat


Recommended Posts

As wiki says:
Things like infinite run, fire proof CJ, 150 health, 150 armor have special activation flags. They need a way to be triggered on/off.
setPedStat 

is this a joke? :lol::lol:

Body:

  • 21: FAT
  • 22: STAMINA
  • 23: BODY_MUSCLE
  • 24: MAX_HEALTH -- MAX ARMOR does not exist
  • 25: SEX_APPEAL

Link to comment

This clearly isn't a joke. Armor has a special flag, but it's not listed there nor isn't in MTA's source code. I don't even think GTA has implemented max armor scaling while going through missions and whole game, that is why it does not exist.

The only way would be to create custom armor system. Use onClientPedDamage, set element data to a ped as "armor" then decrease it each time he gets damaged (and cancel the event of course).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...