[FilterScript] r_armour
#1

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,
PHP Code:
#define armourLight_PROTECTION 1 
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:
  • Light Armour
  • Standard Armour
  • Heavy Armour
#define armourLight_PROTECTION 1
#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
Reply


Messages In This Thread
r_armour - by rfr - 23.12.2017, 13:54
Re: r_armour - by Stev - 23.12.2017, 14:10
Re: r_armour - by cuber - 23.12.2017, 14:11
Re: r_armour - by rfr - 23.12.2017, 14:39
Re: r_armour - by Kaperstone - 23.12.2017, 14:46
Re: r_armour - by rfr - 23.12.2017, 14:50
Re: r_armour - by RogueDrifter - 23.12.2017, 15:03
Re: r_armour - by rfr - 23.12.2017, 20:41
Re: r_armour - by Barnwell - 23.12.2017, 22:15
Re: r_armour - by rfr - 24.12.2017, 06:23
Re: r_armour - by RxErT - 24.12.2017, 09:19
Re: r_armour - by Eoussama - 24.12.2017, 18:22
Re: r_armour - by Debjit - 24.12.2017, 19:00
Re: r_armour - by rfr - 24.12.2017, 20:47
Re: r_armour - by Chaprnks - 20.01.2018, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)