SA-MP Forums Archive
[FilterScript] r_armour - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] r_armour (/showthread.php?tid=646773)



r_armour - rfr - 23.12.2017

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:#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


Re: r_armour - Stev - 23.12.2017

I like the concept, well done.


Re: r_armour - cuber - 23.12.2017

Good job.


Re: r_armour - rfr - 23.12.2017

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


Re: r_armour - Kaperstone - 23.12.2017

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


Re: r_armour - rfr - 23.12.2017

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.


Re: r_armour - RogueDrifter - 23.12.2017

looks interesting good job +rep


Re: r_armour - rfr - 23.12.2017

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


Re: r_armour - Barnwell - 23.12.2017

Good job
+rep


Re: r_armour - rfr - 24.12.2017

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


Re: r_armour - RxErT - 24.12.2017

Dang it! it's excatly like gta v!!!!!!!!!!!!!!!!!! LOL


Re: r_armour - Eoussama - 24.12.2017

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



Re: r_armour - Zeth - 24.12.2017

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


Re: r_armour - rfr - 24.12.2017

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


Re: r_armour - Chaprnks - 20.01.2018

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).