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.

Removing a command without editing core files?

Discussion in 'DarkRP Modding Questions & Help' started by Munch, Oct 6, 2013.

  1. Munch

    Munch New Member

    I would like to completely remove the rp_setmoney command but not sure how to go about it without editing the core files?

    DarkRP version 2.5.0.
  2. Bo98

    Bo98 Moderator Staff Member Contributor

    Code (Lua):
    Shared (server + client).
  3. LavaLemon

    LavaLemon Member

    Excuse me where should you edit as in what file do you need to put that code in
  4. (FPtje) Atheos

    (FPtje) Atheos Main Developer Staff Member

    @Bo98 must have read your post wrong as he provided a way to remove a chat command, and not a console command.
    Add a file in the DarkRPmod modules. In it, you must remove the concommand.

    Code (Lua):

    hook.Add("InitPostEntity", "removeRPSetMoney", function()
    Bo98 and Munch like this.

Share This Page