1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

{SOLVED}Questions about DarkRP Props

Discussion in 'Player General Chat' started by TheJmasterJJ, Jul 1, 2017.

  1. TheJmasterJJ

    TheJmasterJJ New Member

    I have 2 questions about DarkRP props.
    1. What is a good anti-propkill mod?
    2. How can I stop props from breaking in my server? For example, if I shoot a wooden table, it breaks. I do not want that.
     
  2. Sir Klutch

    Sir Klutch Active Member

    APAnti is the best "free" apk. Find that here; https://github.com/LuaTenshi/APAnti

    Give this a try. Place it in lua/autorun/server
    Code (Lua):

    local function Klutch_PlayerVsProp(entity, _)
        if entity:GetClass() == "prop_phyiscs" then
            return true
        end
    end

    hook.Add("EntityTakeDamage", "disable prop damage", Klutch_PlayerVsProp)
     
     
  3. TheJmasterJJ

    TheJmasterJJ New Member

    Thank you so much for the APAnti. The unbreakable worked with the mod. Thanks for the help
     
    Sir Klutch likes this.
  4. Sir Klutch

    Sir Klutch Active Member

    No problem =)
     

Share This Page