Garry's Mod

Garry's Mod

C4 for DarkRP (Works with sandbox too!) (FIXED)
107 Comments
Gaper-Bingzoid 18 Apr, 2021 @ 6:28pm 
big fat eroor
F.E.B. 14 Apr, 2018 @ 9:23am 
you didn't mention that you need gdcw, please make a standalone version because everytime I place it down it's just a giant errore
Ratt 3 Jul, 2017 @ 10:29am 
@Guaxilixo + O.L.E.G you left click
LunaticRabbitFan2005 17 May, 2017 @ 7:27pm 
isn't this from m9k? or am I wrong
Izaki 6 Jan, 2017 @ 10:30am 
i cant plant it help pls i click E right mouse buttom and don´t plant help me!!!
KONZENTRATION 24 Jul, 2016 @ 9:49am 
ultra long cooldown fuck this
Seabatt 3 Jun, 2016 @ 12:32pm 
Like less than 2 mins
Seabatt 3 Jun, 2016 @ 12:32pm 
Is there a way to change the time for the bomb to explode
backshot giver 3 Feb, 2016 @ 1:21pm 
can you make it to where defusing takes 5 seconds?
[Dax]ThatSurfingOtter 15 Oct, 2015 @ 3:54am 
your preview video is private...................................:steamsalty:
i 17 Sep, 2015 @ 6:33am 
cooldown dosent work
gren 20 Jun, 2015 @ 3:30am 
c4_cooldown doesn't work? i do c4_cooldown 10 and doesn't work. Plz fix. Anyway nice work.
UltimateByte 13 Jun, 2015 @ 10:07am 
Thanks for your work dude !
UltimateByte 13 Jun, 2015 @ 10:07am 
Well, we're gonna try it again :)
INCONCEIVABLE! 11 Jun, 2015 @ 10:43am 
Yeah, I have a hard time managing the addons I already have lol
76561198072790128  [author] 11 Jun, 2015 @ 9:46am 
Nah, it's ok, he sent them to me.
UltimateByte 10 Jun, 2015 @ 2:31pm 
In this case, maybe Inconceivable could maybe reupload it if you allow him...
INCONCEIVABLE! 10 Jun, 2015 @ 11:45am 
I'm on it.
76561198072790128  [author] 10 Jun, 2015 @ 9:41am 
Hey guys, I stopped playing GMOD ages ago... Sorry for leaving you guys hanging. Yeah I was a noob at LUA back then. BTW Inconcievable im a massive fan :P I don't know if I even have the source files any more. If you can send me the corrected, fixed, files with your appropriate changes, I'll be happy to upload it. Thx.
INCONCEIVABLE! 10 Jun, 2015 @ 4:52am 
Last update was this time last year. I'm sending a friend req to try to sort it out
UltimateByte 9 Jun, 2015 @ 6:34pm 
Lol, i didn't even remember having posted this already,sorry for duplicated thing.
BTW is the author dead ?
INCONCEIVABLE! 9 Jun, 2015 @ 5:11am 
And that error can be completely taken care of by removing lines 1319 - 1321
UltimateByte 9 Jun, 2015 @ 3:14am 
[ERROR] lua/weapons/bobs_gun_base/shared.lua:1319: attempt to index a nil value
1. unknown - lua/weapons/bobs_gun_base/shared.lua:1319
2. include - [C]:-1
3. unknown - lua/weapons/bobs_gun_base/cl_init.lua:1


Is that what you call "fixed" ?
INCONCEIVABLE! 8 Jun, 2015 @ 10:17pm 
-ICE- bought attention to a bug that shows up when a user plants then exits the server. The weapon throws a bunch of errors and the only way to fix it is to restart the server. To fix, enter this line on 132, immediatly after the introduction to the ENT:Explosion function:

if not IsValid(self.Owner) then self.Entity:Remove() return end

And while I have your attention, please rename the weapon base. I don't mind you using the M9K base for your sweps, but the only thing I ask is that you rename the base.

And a step further, you don't need the scoped or shotty base, or the blacklisted weapon base. Deleting those will save on lua files for users
UltimateByte 8 Jun, 2015 @ 5:16pm 
[C4 for DarkRP (Works with sandbox too!)] lua/weapons/bobs_gun_base/shared.lua:1319: attempt to index a nil$
1. unknown - lua/weapons/bobs_gun_base/shared.lua:1319
2. include - [C]:-1
3. unknown - lua/weapons/bobs_gun_base/init.lua:4


Server console
Desmoo88 3 Jun, 2015 @ 7:00pm 
You should make a diffuser for it :)
Nutter2 25 Apr, 2015 @ 7:02am 
How would I go about modifying the settings of this?
Bamf 20 Feb, 2015 @ 10:24pm 
The error you get with it constantly exploding is caused when a player places the C4 and leaves the server.
dhkatz 18 Feb, 2015 @ 4:52pm 
Defusing does not work.
-ICE- 29 Jan, 2015 @ 10:47pm 
Update the M9K Base!
-ICE- 21 Dec, 2014 @ 1:08pm 
Sometimes it glitches out and keeps going off. This happens about once a week.. Idk what causes it but this error is spammed in console

Lua Error: [C4 for DarkRP (Works with sandbox too!)] lua/entities/usm_ent_c4/shared.lua:148: Tried to use a NULL entity! 1. BlastDamage - [C]:-1 2. Explosion - lua/entities/usm_ent_c4/shared.lua:148 3. unknown - lua/entities/usm_ent_c4/shared.lua:123
lSAlexl 1 Dec, 2014 @ 11:37am 
How can I make a restriction on defuse? For example, to only the police could defuse
lSAlexl 1 Dec, 2014 @ 11:36am 
How can I make a restriction on defuse?
Joan 28 Aug, 2014 @ 3:59pm 
looks awesome!
Scardigne 16 Aug, 2014 @ 5:17am 
ok no problem cheers.
76561198072790128  [author] 16 Aug, 2014 @ 5:16am 
Hey Scardigne, I'll have a talk with caleb about ur problem
Scardigne 16 Aug, 2014 @ 5:15am 
hahaha ;)
76561198072790128  [author] 16 Aug, 2014 @ 4:59am 
Pseudo, there is always one guy who rages, it's usually people like you. This addon has 10,523 subs. That is more than any of your addons. So go cry.
76561198072790128  [author] 16 Aug, 2014 @ 4:54am 
Pseudo = Fak off it works :P
Tumor = Read the fucking title it says works with sandbox :P
Scardigne 15 Aug, 2014 @ 3:11am 
[ERROR] lua/weapons/bobs_gun_base/shared.lua:1319: attempt to index a nil value
1. unknown - lua/weapons/bobs_gun_base/shared.lua:1319
2. include - [C]:-1
3. unknown - lua/weapons/bobs_gun_base/cl_init.lua:1
neurotic 7 Aug, 2014 @ 9:47pm 
Ikr
76561198072790128  [author] 7 Aug, 2014 @ 9:31pm 
Yeah, it's pretty mind blowing.
neurotic 7 Aug, 2014 @ 9:28pm 
*blushes* Wow, i've never been digitally hugged before.
76561198072790128  [author] 7 Aug, 2014 @ 9:26pm 
Thank you so much :D! I will send you a digital hug.
*hug*
neurotic 5 Aug, 2014 @ 8:53pm 
It's great, good job. 10/10 would detonate again.
76561198072790128  [author] 1 Aug, 2014 @ 3:40am 
Nope, you can do it through listenserver.cfg
Starlord_1999 31 Jul, 2014 @ 6:41pm 
nevermind
Starlord_1999 31 Jul, 2014 @ 6:21pm 
@Caleb So i have to have a dedicated server?
Caleb  [author] 30 Jul, 2014 @ 8:43pm 
@GEEK, You do this in your server CVAR or your CFG/server.cfg file.
For example:
c4_cooldown 3600
That would go in it's own line in your server.cfg
: )
Starlord_1999 30 Jul, 2014 @ 4:17pm 
the command to change cool down time doesn't work. how can i fix this?