Garry's Mod

Garry's Mod

评价数不足
Fvynchynch's Health and Armor
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
3.450 KB
2021 年 7 月 4 日 下午 3:57
2021 年 7 月 23 日 上午 4:18
18 项改动说明 ( 查看 )

订阅以下载
Fvynchynch's Health and Armor

在 Fvynchynch 的 2 个合集中
Weapon Addons (ArcCW)
71 件物品
Personal Collection
421 件物品
描述
So I was playing around with Health & Armor Commands (link: https://psteamcommunity.yuanyoumao.com/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 条留言
Fvynchynch  [作者] 2023 年 11 月 4 日 下午 5:44 
@idiot gaming

Should be fixed now.
RiceIsNice 2023 年 11 月 1 日 下午 11:48 
"Link Blocked!"💀