Sign up for news, events and more!
Discussion in 'DarkRP Addon & Plugin Releases' started by LordiAnders, Nov 4, 2014.
how could i make it so only ... ranks can force people down?
I havent added any means of checking people who shout. If you must absolutly make this specific to ranks, you'd have to disallow those ranks from being able to surrender themselves
i want to make it so only Donators and higher can force people to surrender (use the shout function)
Can you add an swep for this? To replace key for surrender? ?
Whats the point of a swep? And also...
If people have a conflicting bind, they can change it themself
Having a swep can be more friendly for users
How hard can it be to make a whitelist or a blacklist? You could even add only one weapon, serving as a SWEP like you are requesting
So, how can i do this? if it's even possible. English is not my main language i'm sorry
Anyway I can change the binds from Ctrl + Shift + E to like F10 or so?
Unfortunatly, the surrender prompt is not configurable at the moment
How about if you can only surrender people when your behind them
Im going to have to make a variable that allows you to decide whether or not forced surrenders can be allowed. You'll need basic Lua knowledge to use it though
(I have not tested this script yet, but am very interested)
Is there a way to set this up and restrict it to a certain job/class/group?
The shout command unfortunatly cannot be restricted much yet.
The only way to "prevent" it is by using the CanSurrender setting in the config file, which would also affect the surrender prompt, preventing non-forced surrender
God damnit, i really need to create a configuration for that
Honestly, you should just turn this into a SWEP to trigger the actions.
That way it would be much much more easier to control who or what can create this situation during roleplay.
I'd pay good money for this shit in a swep.
But then you can't have weapons out whilst robbing/kidnapping people...?
I would love it if you could add a ulx group restriction to the shout key would mean I could use it as everybody wouldn't be ringing around shouting.
SurrenderSettings["cansurrender"] = function(ply)
return ply:GetUserGroup() == "superadmin"
That would restrict it, making only superadmins be able to surrender
This doesn't work with most of the playermodels I use. Is there a fix for this?
Separate names with a comma.