1. Post #1

    April 2012
    14 Posts
    Hey. I was wondering if there was a way to not die when health is zero. I want the person to ragdoll so they have a chance to be revived. Something like perps death. Almost similair to it. Does anyone know?

    Edited:

    Also if i was to set a player's armor to 100. would it be under init.lua? and would the code look like this:

    LocalPlayer:()Armor() == 100

    Edited:
    Thanks! Another Question.
    How do i set text size? like i know how to set text in hud but how do i make that text bigger?

  2. Post #2
    Awesome Gmod Servers!
    brandonj4's Avatar
    September 2011
    1,371 Posts
    I have an answer to your second question but I would have to think of something for the first one.

    It would be serverside setting someones armor to 100. So yes it would go inside of init.lua.
    hook.Add("PlayerSpawn", "SettingArmor", function(ply)
        ply:SetArmor(100)
    end)
    

    Also I am assuming you wanted it to be set when they spawn but you can always take the function of SetArmor() and use it on an entity.

  3. Post #3
    Gold Member
    Hyper Iguana's Avatar
    March 2011
    641 Posts