23.12.2017, 13:54
(
Last edited by rfr; 24/12/2017 at 05:41 PM.
)
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)
Commands:
/lightarmour
/standardarmour
/heavyarmour
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/0QN6JaXD
Hastebin - https://hastebin.com/raw/nifecosero
For example,
PHP Code:
#define armourLight_PROTECTION 1
Commands:
/lightarmour
/standardarmour
/heavyarmour
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/0QN6JaXD
Hastebin - https://hastebin.com/raw/nifecosero
