[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
#2

I like the concept, well done.
Reply
#3

Good job.
Reply
#4

Quote:
Originally Posted by Stev
View Post
I like the concept, well done.
Quote:
Originally Posted by cuber
View Post
Good job.
Thank you very much
Reply
#5

Doesn't seem like the first armor would protect my shoulders from tearing to pieces
Reply
#6

Quote:
Originally Posted by Kaperstone
View Post
Doesn't seem like the first armor would protect my shoulders from tearing to pieces
Well after all it's a vest and light armour.

When I get time I'm completely revamping this system with custom projectile damage with each different armour.
Reply
#7

looks interesting good job +rep
Reply
#8

Quote:
Originally Posted by RogueDrifter
View Post
looks interesting good job +rep
thank you.
Reply
#9

Good job
+rep
Reply
#10

Quote:
Originally Posted by Daniielk
View Post
i like the nigga's skin
Was the only skin available in that gamemode lol

Quote:
Originally Posted by Barnwell
View Post
Good job
+rep
Thank you
Reply
#11

Dang it! it's excatly like gta v!!!!!!!!!!!!!!!!!! LOL
Reply
#12

Amazing, you've really pulled it off, Don't stop learning, best of luck.
Code:
  `##       ##`  
  `###     ###;  
  ;@@@#  `#@#@@  
  :###@#####@#+  
  @############.   
`@#############@:
;###@@@@@@@@@###@
 ###############@
+###@#####@@@###@
 #######@##+##+#@
Reply
#13

Creative One, hoping to see more creative stuffs in future.
Reply
#14

Quote:
Originally Posted by Eoussama
View Post
Amazing, you've really pulled it off, Don't stop learning, best of luck.
Code:
  `##       ##`  
  `###     ###;  
  ;@@@#  `#@#@@  
  :###@#####@#+  
  @############.   
`@#############@:
;###@@@@@@@@@###@
 ###############@
+###@#####@@@###@
 #######@##+##+#@
Quote:
Originally Posted by Debjit
View Post
Creative One, hoping to see more creative stuffs in future.
thank you guys
Reply
#15

Excellent concept, but its a "one size fits all" offsets.. would work perfect for some skins, but look horrible on others. I'd recommend doing offsets for each skin (I remember a few posts previously that allowed you to find a base coordinate, and it would produce offsets for each skin).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)