Jump to content

Armour Stat


Recommended Posts

Posted

As you know, if you complete cop missions until level 12 (I am not sure the level) you can get 150% of armour on GTA Single Player.

I would like to know how to add this on MTA if it's possible. I didn't find any stat for that

350x20_FFFFFF_FFFFFF_000000_000000.png

http://i.imgur.com/CSE28MJ.png

Don't hesitate to contact me for anything! If I can help, I will for sure!

Education is the most powerful weapon which you can use to change the world. - Castillo

Posted

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 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted
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

 DUyJ810.gif

Posted

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).

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

Nope, not really. Can be written under 30 lines of code.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

It's not possible, because armor stat has no flag in GTA, never noticed it. You can make your own.

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast

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...