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
Im using FA:S 2 weapons and it seems I cant make my victim force surrender, it works with darkrp weapons
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, }
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?
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.
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!
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
This was in my server and I found that it breaks job whitelisting systems somehow. No error message, just makes the systems stop working.
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?