Doesnt matter you have vest or not.
#1

Hello, In my server, it doesnt matter you have vest or not. When you get hit with a gun. Your vest stays, but you lose your hp depending which gun you got shot with. How can I fix this?
Reply
#2

When you say vest do you mean the object or the armour bar?
Reply
#3

You will use this: https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage, combined with an if which sees if player has armour. So use a callback which tranfers the damage that sustains the armour to the hp. If you give the armour to the player from spawning then this if is not necessary.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)