1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

Lua/ weapon disappear after use

Discussion in 'Modder General Chat' started by Dark VinylScratch 2, Dec 11, 2013.

  1. I was just wondering how to make a weapon disappear after it's been fired once. That way an OP gun can be of some use to me and many other servers. Like hook it to an entity like...

    Code (Text):
    {ply=fires gun, {"weapon_NyanGun"}=gun return end)
    and etc, (I know the code above does not work, it is an example of what I want to accomplish by the end of this thread) This page is often looked for and many other modders would LOVE to know the answer to this question.:D
     

Share This Page