Posts: 240
Threads: 5
Joined: Nov 2017
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,
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
Posts: 150
Threads: 6
Joined: Oct 2013
Reputation:
0
I like the concept, well done.
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by Stev
I like the concept, well done.
|
Quote:
Originally Posted by cuber
Good job.
|
Thank you very much
Posts: 3,004
Threads: 12
Joined: May 2011
Doesn't seem like the first armor would protect my shoulders from tearing to pieces
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by Kaperstone
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.
Posts: 1,192
Threads: 10
Joined: Dec 2017
Reputation:
0
looks interesting good job +rep
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by RogueDrifter
looks interesting good job +rep
|
thank you.
Posts: 558
Threads: 112
Joined: May 2014
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by Daniielk
i like the nigga's skin
|
Was the only skin available in that gamemode lol
Quote:
Originally Posted by Barnwell
Good job
+rep
|
Thank you
Posts: 243
Threads: 16
Joined: May 2016
Reputation:
0
Dang it! it's excatly like gta v!!!!!!!!!!!!!!!!!! LOL
Posts: 428
Threads: 4
Joined: Feb 2017
Reputation:
0
Creative One, hoping to see more creative stuffs in future.
Posts: 240
Threads: 5
Joined: Nov 2017
Quote:
Originally Posted by Eoussama
Amazing, you've really pulled it off, Don't stop learning, best of luck.
Code:
`## ##`
`### ###;
;@@@# `#@#@@
:###@#####@#+
@############.
`@#############@:
;###@@@@@@@@@###@
###############@
+###@#####@@@###@
#######@##+##+#@
|
Quote:
Originally Posted by Debjit
Creative One, hoping to see more creative stuffs in future.
|
thank you guys
Posts: 603
Threads: 12
Joined: Sep 2007
Reputation:
0
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).