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.

disable jailpos, setjailpos and addjailpos

Discussion in 'DarkRP Modding Questions & Help' started by Stygian Renegade, Sep 28, 2017.

  1. Stygian Renegade

    Stygian Renegade New Member

    I have a addon I'd rather use that handles all these features on it's own but I would like to disable these commands to the Mayor can't set jail positions as there is no point to it with the arrest batons disabled.

    How would I go about doing that? Can I use the DarkRPMod Addon to do this?
     
  2. Bloodmasked

    Bloodmasked New Member

    YOURSERVER\garrysmod\gamemodes\darkrp\gamemode\modules\positions
    sv_jailpos.lua contains the commands which u may strike out to disable with -- commenting

    --DarkRP.defineChatCommand("jailpos", JailPos)
    ETC
     
  3. {NG} Mr. Nightmare

    {NG} Mr. Nightmare New Member

    Never edit core files, get the darkrp modification addon
     

Share This Page