DarkRP Server Customization Questions
Hello, If this is not the correct place to post this then I apologize in advance.
I have been developing my own server for a little while now, and there are some things that I cannot figure out no matter how many times I google search it.
Here is some information to potentially help you answer this post -
- My server is using DarkRP but it is not DarkRP.
- I have researched each and everyone one of these questions and have yet to find sufficient answers or leads online for some of my issues.
- I have scoured my DarkRP Modification folder and am struggling to find anything to help me out in regards to my issues.
My Issues -
How can I change how much money you make for killing a player? (I can only find 'GM.Config.npckillpay')
How can I have more than 1 Jail POS, and have it set up where if someone from 1 team arrests someone they go to their jail instead of the other teams Jail?
How can I make it where only staff members (lets say Admin+) can spawn props?
(This one is probably super easy but I cant find a good answer or solution. I would really like to not have to blacklist every single prop in the Q menu)
Could someone post an example of their 'groupchats.lua' so that I can find out what Im missing in regards to setting it up myself? (I followed the instructions but it doesn't look right nor does it work)
Thank you in advance to anyone who takes time out of there day to attempt to help my issues.
- Go into line 200 in garrysmod/addons/darkrpmodification/lua/darkrp_config/settings.lua
- You can get a arrest addon and config it so you can have multiple jail pos and ask someone to help you out for very cheap
- Gprotect.
--[[---------------------------------------------------------------------------
Group chats
---------------------------------------------------------------------------
Team chat for when you have a certain job.
e.g. with the default police group chat, police officers, chiefs and mayors can
talk to one another through /g or team chat.
HOW TO MAKE A GROUP CHAT:
Simple method:
GAMEMODE:AddGroupChat(List of team variables separated by comma)
Advanced method:
GAMEMODE:AddGroupChat(a function with ply as argument that returns whether a random player is in one chat group)
This is for people who know how to script Lua.
---------------------------------------------------------------------------]]
-- Example: GAMEMODE:AddGroupChat(TEAM_MOB, TEAM_GANG)
- -- Example: GAMEMODE:AddGroupChat(function(ply) return ply:isCP() end)
I admit that I forgot about this post. Heres an update!
- Figured out the money reward for kills issue
- Figured out the staff prop spawn
- Groupchats are working now
- Jail POS still not working how id like it to even though ive spent probably 12 hours total trying to get it to work. I have absolutely no idea how to remedy this issue. My server is made in a way where there are 2 separate Jails, 1 in the US base; and 1 in the RU base. As of right now when you are arrested its a toss of a coin on which base you get teleported to. I would like for RU players to go to RU jail, and US players to go to US Jail.
ou could just make a shared jailY