Garry's Mod

Garry's Mod

Damage Players in Seats
150 Comments
Asrilix 19 Aug, 2024 @ 11:51pm 
hi i got an problem if anyone can help me when i have sadmin on my server this dont work i dont know why and its just for admin thing if anyone can help me that help me a lot 🙏
Partially Invisible 4 Aug, 2024 @ 9:40pm 
with this mod and the needs mod i can become intoxicated and die at the steering wheel because i drank too much beer
10/10
GEO999 24 Jul, 2024 @ 8:38am 
raaaaaa
GEO999 24 Jul, 2024 @ 8:38am 
peepoopoo
Cédric GÉRILLE [GiletJaune]  [author] 31 May, 2024 @ 1:07pm 
Well, no, it does not. Although allowing to press buttons while in a vehicle is totally feasable with a rather easily made Lua script.
Destruktro 15 May, 2024 @ 12:46am 
I mean since you can't really press e and remain seated to push the button (spawned with tool gun) does this mod allow you to do it somehow?
Cédric GÉRILLE [GiletJaune]  [author] 14 May, 2024 @ 11:13pm 
What do you mean? Buttons are not blocked when sitting. In addition, you can use weapons if you configure the vehicle to allow weapons.
Destruktro 13 May, 2024 @ 4:19pm 
Is there any way how can I press buttons while sitting?
Cédric GÉRILLE [GiletJaune]  [author] 6 May, 2024 @ 11:18pm 
It should be superseeded since the seat models were updated a long time ago. But apparently some people find it useful.
Lazy Pyro (New acc!) 6 May, 2024 @ 6:43pm 
is this addon obselete because of a new addon or a new update? send me a link if its a mod
Cédric GÉRILLE [GiletJaune]  [author] 28 Apr, 2024 @ 11:27pm 
This add-on is not much of a great project, though. 😅
Lazy Pyro (New acc!) 28 Apr, 2024 @ 9:51am 
dang i always see projects left by people that might be great, but haven't been touched in around 5 7 or 10 years, like the admin gun.
Cédric GÉRILLE [GiletJaune]  [author] 29 Jan, 2024 @ 11:01pm 
Hehe! 😎
CHAINSAWCANNIBAL 29 Jan, 2024 @ 1:10pm 
my saw traps can now work thank you
:steamthumbsup:
Cédric GÉRILLE [GiletJaune]  [author] 19 Jan, 2024 @ 6:25pm 
I probably just filtered the entity class name in the code. If you modify the code to take into account "prop_vehicle_jeep" then it will be fine, I suppose.
Flodor88000 9 Jan, 2024 @ 8:32am 
how can i make so that it damage player in vehicle like jeep too ?
𝓧𝓠𝓚𝓔𝓚 7 Jan, 2024 @ 1:44am 
is there any addon, that adds a fall damage when player sits?
Cédric GÉRILLE [GiletJaune]  [author] 7 Dec, 2023 @ 9:20pm 
On ne peut pas résoudre, sinon ça veut dire que tu peux tirer n'importe où sur la voiture, et c'est vraiment pas réaliste. 😂 Enfin maintenant que j'y repense, on peut peut-être trouver la position de l'assise. Enfin, ce n'est pas du tout naturel et c'est pas mal compliqué.
Yagouroko 19 Nov, 2023 @ 9:57am 
Salut désoler te déranger mais j'ai un soucis sur mon serveur quand un joueur et assis dans une voiture quand on lui tire dessus il prend pas de dégats tu sais comment résoudre ? merci de ton aide ^^
Alfraido 10 Nov, 2023 @ 6:09pm 
I see. thats really unfortunate..
Cédric GÉRILLE [GiletJaune]  [author] 10 Nov, 2023 @ 6:08pm 
If this add-on works on your game/server then you would need the invisible seats to be solid and be in a collision group such as COLLISION_GROUP_WORLD. You can change that with a hook on vehicle entry, I suppose. But then comes another problem: a seat located inside of a vehicile is physically protected by the vehicle, just like an armor. Well, you understood it, there is no simple solution, and shooting through a vehicle's panes is very difficult on Source because a normal trace is blocked by anything solid, which actually sucks.
Alfraido 10 Nov, 2023 @ 2:34pm 
i just need a way to damage people in simfphys driver seats
Cédric GÉRILLE [GiletJaune]  [author] 10 Aug, 2023 @ 12:40pm 
Well, this one is not big technology. It was a problem solver back then, but nowadays... I can't disagree with you.
Mr. Mustard 10 Aug, 2023 @ 11:58am 
man this addon sucks
Cédric GÉRILLE [GiletJaune]  [author] 8 Oct, 2022 @ 12:45pm 
Yeah but in real life, you are at risk on a seat too. 😂
FBI 8 Oct, 2022 @ 9:12am 
one thing tho people wanna b invincible anyways
Cédric GÉRILLE [GiletJaune]  [author] 24 Aug, 2022 @ 11:35am 
That is its intnded purpose. 😛
404_coffee.exe 9 Aug, 2022 @ 5:02am 
This one was very useful to use to make sure we cannot just be invincible.
flatulencegaming 17 Feb, 2022 @ 2:19am 
well
Springle 30 Jan, 2022 @ 9:15am 
can you make it work with the sit anywhere script?
Cédric GÉRILLE [GiletJaune]  [author] 28 Nov, 2021 @ 3:05am 
I think I might do something now. I have too many of my add-ons that need to be fixed!
Redox 27 Nov, 2021 @ 6:45pm 
[Damage Players in Seats] lua/autorun/server/damage_players_in_seats.lua:39: attempt to call method 'GetActiveWeapon' (a nil value)
1. unknown - lua/autorun/server/damage_players_in_seats.lua:39
2. FireBullets - [C]:-1
3. FireShot - lua/entities/gmod_wire_turret.lua:72
4. unknown - lua/entities/gmod_wire_turret.lua:89 (x280)

Causes errors when the seat is being shot by non players / npcs (i used a wire turret)
JustLegris 11 Aug, 2021 @ 2:53am 
I FIND IT
Cédric GÉRILLE [GiletJaune]  [author] 28 Jul, 2021 @ 2:59pm 
It is so confusing! I do not play Garry's Mod so I cannot tell what is the current situation, but yeah, starting from when I saw an update featuring new hitboxes in seat models for damage, I thought that this add-on became useless. Now that most of the comments I have received lately claim that it does not work, I suppose that something else may have changed in the game.
sunset 28 Jul, 2021 @ 1:34pm 
Wait dude, I never had this addon but can still damage players in seats. I've been doing this for a long time
You 19 Jul, 2021 @ 8:31pm 
Just confirmed with a friend that this does not work anymore. Or at least not with SCars.
A recent update had something to do with seats, so maybe that's why it's bugged.
DeedalaDee 17 Jul, 2021 @ 2:50pm 
ok
Cédric GÉRILLE [GiletJaune]  [author] 17 Jul, 2021 @ 2:39pm 
I did not think about that. No you cannot.
DeedalaDee 4 Jul, 2021 @ 2:10pm 
can you take fall damage in seats
Cédric GÉRILLE [GiletJaune]  [author] 20 Jun, 2021 @ 10:09am 
To be honest, I do not know if it works or if it does not. I think that Garry's Mod hasn't changed in a way that can break this add-on, so I am confused. Also, others do not claim it to be broken, so I do not know. Maybe there is a conflict on the way. I have a conflict finder to help diagnose.
Theo 18 Jun, 2021 @ 10:29pm 
@Michel CRÉMIER [GiletJaune]
It hasn't... Worked in a long time...
Cédric GÉRILLE [GiletJaune]  [author] 18 Jun, 2021 @ 4:31pm 
Fixing what exactly???
Theo 15 Jun, 2021 @ 8:13pm 
@Michel CRÉMIER [GiletJaune]
did you ever get around to fixing this?
O I I A O I I A 12 Apr, 2021 @ 12:29pm 
ty
Cédric GÉRILLE [GiletJaune]  [author] 12 Apr, 2021 @ 9:45am 
Congratulations! 😋
O I I A O I I A 5 Apr, 2021 @ 12:54pm 
ye i did make one :D
Cédric GÉRILLE [GiletJaune]  [author] 5 Apr, 2021 @ 8:49am 
I have not made one, but the code would be even easier to make.
O I I A O I I A 4 Apr, 2021 @ 12:11pm 
Is there any addon from the opposite site? I mean i can disable damage seated?
Cédric GÉRILLE [GiletJaune]  [author] 13 Mar, 2021 @ 6:42am 
Ahhh, I think I really need to fix this! It's a shame that I have not everything installed. :steamsad:
Jane 13 Mar, 2021 @ 2:13am 
Amazing mod, however it fails to call GetActiveWeapon() when you shoot own seat with wiremod turret. I fixed it with:

local weapon
if attacker.GetActiveWeapon == nil then
weapon = attacker
else
weapon = attacker:GetActiveWeapon()
if !IsValid( weapon ) then
weapon = attacker
end
end