There is a :SetMaxHealth code in GMod that sets how high a player's health can go, but there isn't one for armor. Does anyone have a script for that?
Armor can only go up to 255 max, that's a limit set in the game. If you want to get around it you'll need to write your own armor system.
[QUOTE=meharryp;50243215]Armor can only go up to 255 max, that's a limit set in the game. If you want to get around it you'll need to write your own armor system.[/QUOTE]
or just detour ply:SetArmor()
[QUOTE=meharryp;50243215]Armor can only go up to 255 max, that's a limit set in the game. If you want to get around it you'll need to write your own armor system.[/QUOTE]
[t]http://images.akamai.steamusercontent.com/ugc/495771087094863105/831008E1664C48B6BCDFE6B753FF0D603B38E50F/[/t]
Is there a way to set the cap under 255? Like after 50 armor, a player can no longer gain armor?
[QUOTE=_Banshee;50252570]Is there a way to set the cap under 255? Like after 50 armor, a player can no longer gain armor?[/QUOTE]
as robbo said... detour ply:SetArmor()
Sorry, you need to Log In to post a reply to this thread.