This filterscript is GTA-V styled armour system. It replenishes your armour when it's lower than 20. It detects this from `OnPlayerGiveDamage > damagedid`.
For example,
This means your armour will only be replenished only ONCE, so in total it's 2 (one armour regularly, and one when it replenishes = 2)
There are 3 types of armour:
#define armourStandard_PROTECTION 2
#define armourHeavy_PROTECTION 4
![]()
![]()
![]()
Credits:
<a_samp>
<izcmd> - originally by Zeex
Kar - Helped with an issue with bools, array
Pawn File:
Pastebin - https://pastebin.com/raw/LaQqE3RN
Hastebin - https://hastebin.com/raw/nifecosero
For example,
PHP Code:
#define armourLight_PROTECTION 1
There are 3 types of armour:
- Light Armour
- Standard Armour
- Heavy Armour
#define armourStandard_PROTECTION 2
#define armourHeavy_PROTECTION 4



Credits:
<a_samp>
<izcmd> - originally by Zeex
Kar - Helped with an issue with bools, array
Pawn File:
Pastebin - https://pastebin.com/raw/LaQqE3RN
Hastebin - https://hastebin.com/raw/nifecosero