how to disable default weapon for some jobs?

Hello guys, this is my first post. Do not yell at me if I’m stupid, I just started to learn.

I have question: “How disable default weapon for, example, for dog job?”. For it doesn’t have physic gun, camera and other…

P.S. Sorry for my English. With love from Russia <3

For that you’d need to make a new DarkRP module from my understanding.

May be… Is not present any code, instead of a module?

I don’t know how DarkRP works at all, but have you looked into making a

GM:PlayerLoadout hook?

Start with going to darkrpmodifications/darkrp_config/settings.lua

Now go to “GM.Config.DefaultWeapons” - around line 335.
If you did not edit it before, simply remove it, paste the following, and edit as needed.

Good luck!


[ERROR] Lua is unable to understand file "darkrp_config/settings.lua" because its author made a mistake around line number 299.
The best help I can give you is this:

Right before the 'if', Lua encountered something it could not make sense of.

Hints:
        - Did you forget something here? (Perhaps a closing bracket)
        - Is it a typo?

------- End of Simplerr error -------

  1. error - [C]:-1
   2. doInclude - gamemodes/darkrp/gamemode/libraries/simplerr.lua:530
    3. unknown - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:54
     4. include - [C]:-1
      5. unknown - gamemodes/darkrp/gamemode/init.lua:41

LocalPlayer() doesn’t exist server-side, and I’m pretty sure the config is shared (could be wrong tho, I don’t work with darkrp)