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.

Release Surrender

Discussion in 'DarkRP Addon & Plugin Releases' started by LordiAnders, Nov 4, 2014.

  1. Vitze

    Vitze New Member

    anyway i can make certain groups not be able to "G" make people surrender?
     
  2. LordiAnders

    LordiAnders Active Member

    Code (Lua):

    --Functionality allowing you to decide whether or not a player should be able to shout
    SurrenderSettings["canshout"] = function(ply,vic)
       --if IsAntlion(ply) or IsAntlionG(ply) then return false end
       --if not ply:isCP() then return false end --Because people like to do this
       --if vic:IsSuperAdmin() then return false end --Im a celebrity! Leave me alone!
       return true
    end
     
     
  3. Zeeptin

    Zeeptin New Member

    What can I change in the code to bind surrender to like f10 or f3
     
  4. System

    System Active Member

    You do it in Q->Settings>Shout Key
     
  5. Zeeptin

    Zeeptin New Member

    No I mean like the key you use to surrender instead of shift+ctrl+e
     
  6. MangalciPyro

    MangalciPyro New Member

    Im using FA:S 2 weapons and it seems I cant make my victim force surrender, it works with darkrp weapons
     
  7. System

    System Active Member

    Gotta change the possible weapons in the sh_config.lua
     
  8. MangalciPyro

    MangalciPyro New Member

    I get it, thanks
     
  9. Can you upload it to the workshop?
     
  10. hwplays

    hwplays New Member

    FOR M9K USE :
    Code (Text):
    SurrenderSettings["intimidatingweapons"] = {
    ["m9k_winchester73"] = true,
    ["m9k_acr"] = true,
    ["m9k_ak47"] = true,
    ["m9k_ak74"] = true,
    ["m9k_amd65"] = true,
    ["m9k_an94"] = true,
    ["m9k_val"] = true,
    ["m9k_f2000"] = true,
    ["m9k_famas"] = true,
    ["m9k_fal"] = true,
    ["m9k_g36"] = true,
    ["m9k_m416"] = true,
    ["m9k_g3a3"] = true,
    ["m9k_l85"] = true,
    ["m9k_m14sp"] = true,
    ["m9k_m16a4_acog"] = true,
    ["m9k_m4a1"] = true,
    ["m9k_scar"] = true,
    ["m9k_vikhr"] = true,
    ["m9k_auga3"] = true,
    ["m9k_tar21"] = true,
    ["m9k_ares_shrike"] = true,
    ["m9k_fg42"] = true,
    ["m9k_minigun"] = true,
    ["m9k_m1918bar"] = true,
    ["m9k_m249lmg"] = true,
    ["m9k_m60"] = true,
    ["m9k_pkm"] = true,
    ["m9k_colt1911"] = true,
    ["m9k_coltpython"] = true,
    ["m9k_deagle"] = true,
    ["m9k_glock"] = true,
    ["m9k_usp"] = true,
    ["m9k_hk45"] = true,
    ["m9k_m29satan"] = true,
    ["m9k_m92beretta"] = true,
    ["m9k_luger"] = true,
    ["m9k_ragingbull"] = true,
    ["m9k_scoped_taurus"] = true,
    ["m9k_remington1858"] = true,
    ["m9k_model3russian"] = true,
    ["m9k_model500"] = true,
    ["m9k_model627"] = true,
    ["m9k_sig_p229r"] = true,
    ["m9k_m3"] = true,
    ["m9k_browningauto5"] = true,
    ["m9k_dbarrel"] = true,
    ["m9k_ithacam37"] = true,
    ["m9k_mossberg590"] = true,
    ["m9k_jackhammer"] = true,
    ["m9k_remington870"] = true,
    ["m9k_spas12"] = true,
    ["m9k_striker12"] = true,
    ["m9k_usas"] = true,
    ["m9k_1897winchester"] = true,
    ["m9k_1887winchester"] = true,
    ["m9k_aw50"] = true,
    ["m9k_barret_m82"] = true,
    ["m9k_m98b"] = true,
    ["m9k_svu"] = true,
    ["m9k_sl8"] = true,
    ["m9k_intervention"] = true,
    ["m9k_m24"] = true,
    ["m9k_psg1"] = true,
    ["m9k_remington7615p"] = true,
    ["m9k_dragunov"] = true,
    ["m9k_svt40"] = true,
    ["m9k_contender"] = true,
    ["m9k_honeybadger"] = true,
    ["m9k_bizonp19"] = true,
    ["m9k_smgp90"] = true,
    ["m9k_mp5"] = true,
    ["m9k_mp7"] = true,
    ["m9k_ump45"] = true,
    ["m9k_usc"] = true,
    ["m9k_kac_pdw"] = true,
    ["m9k_vector"] = true,
    ["m9k_magpulpdr"] = true,
    ["m9k_mp40"] = true,
    ["m9k_mp5sd"] = true,
    ["m9k_mp9"] = true,
    ["m9k_sten"] = true,
    ["m9k_tec9"] = true,
    ["m9k_thompson"] = true,
    ["m9k_uzi"] = true,
    }
     
     
  11. LordiAnders

    LordiAnders Active Member

    I don't upload stuff to the workshop that is gamemode exclusive. If it doesn't support sandbox, I won't upload it to the workshop.
    Besides, what's the difference between downloading it here and the workshop?
     
  12. Ghøst

    Ghøst New Member

    Im using FA:S 2 weapons me too and I cant force surrender with this help please :'(
     
    Last edited: Aug 19, 2016
  13. cj2tech

    cj2tech Member

    A lot of people like to legacy mount(collection mount) addon a so they stay uptodate and because it's easier to just click a button rather then dragging and dropping.
     
  14. O Papa

    O Papa New Member

    As said above, you need to visit the shconfig.lua file on surrender>lua>darkrp_modules>surrendering and manually enter the weapons you want to be eligible for surrendering.
    I had this problem too but i just fixed it, so good luck!
     
  15. creator_2013

    creator_2013 New Member

    Is it possible to surrender but don't go on the knees? So you only put up your hands and can walk. It is usefull when your house is sourrounded by cops and you want to surrender, but when you can't move the cops can't see that you are surrendering.
    --- Double Post Merged, Aug 28, 2016 ---
    Have a bug with an other addon. When I cuff someone (with the addon cuffs) while the person is surrendering, he can't do anything. You can't release him from cuffs because the person have to spam left click but that doesn't work and the cop can't pull them up because "e" is used by cuffs
     
    Last edited: Aug 28, 2016
  16. Tynaluto

    Tynaluto New Member

    I want the person who makes it can not lie, how?
     
  17. Adguy

    Adguy New Member

    thanks for this man :)
     
  18. AlCapone

    AlCapone New Member

    This was in my server and I found that it breaks job whitelisting systems somehow. No error message, just makes the systems stop working.
     
  19. X. Cross

    X. Cross New Member

    How would I make a surrender script so when they press F5 they will put their hands up and press F5 again to put their hands back down?
     
  20. Twisted Fate

    Twisted Fate New Member

    How to make a runconsolecommand for button thanks :p
     

Share This Page