Garry's Mod

Garry's Mod

Otillräckligt med betyg
Fvynchynch's Health and Armor
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Filstorlek
Lades upp
Uppdaterades
3.450 KB
4 jul, 2021 @ 15:57
23 jul, 2021 @ 4:18
18 ändringsnotiser ( visa )

Abonnera för att ladda ner
Fvynchynch's Health and Armor

I 2 samlingar av Fvynchynch
Weapon Addons (ArcCW)
71 artiklar
Personal Collection
421 artiklar
Beskrivning
So I was playing around with Health & Armor Commands (link: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1845716357 ) when I realized that the max armor you can get back through regular means (suit batteries, for example) only goes to 100.

I'm currently testing to see if I can increase that.

On one hand, instead of giving 100 armor points with the "givearmor" or the "givehealthandarmor" commands, it'll give you what your set armor will be.

(For example, if you set your max armor to 1000, typing "givearmor" or "givehealthandarmor" in the console will give you 1000 armor instead of just giving you 100.)

I'm fooling around with the code to see if I can legitimately increase the armor limit, as in restore X amount of armor through suit batteries and energy stations.

For now, you'll have to stick with the "givearmor" and "givehealthandarmor" commands if you want to restore your armor beyond 100 points.

Current Console Commands:
sv_player_max_armor (Default '100') - Sets the maximum armor of the player.
sv_player_max_health (Default '100') - Sets the maximum health of the player.
sv_give_armor_on_spawn (0/1) - Decides whether or not the player will spawn with armor on them.
sv_health_and_armor_admin_only (0/1) - Decides if only admins can change their health and armor.
2 kommentarer
Fvynchynch  [skapare] 4 nov, 2023 @ 17:44 
@idiot gaming

Should be fixed now.
RiceIsNice 1 nov, 2023 @ 23:48 
"Link Blocked!"💀