Garry's Mod

Garry's Mod

Damage Players in Seats
150 Comments
Asrilix Aug 19, 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 Aug 4, 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 Jul 24, 2024 @ 8:38am 
raaaaaa
GEO999 Jul 24, 2024 @ 8:38am 
peepoopoo
Cédric GÉRILLE [GiletJaune]  [author] May 31, 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 May 15, 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] May 14, 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 May 13, 2024 @ 4:19pm 
Is there any way how can I press buttons while sitting?
Cédric GÉRILLE [GiletJaune]  [author] May 6, 2024 @ 11:18pm 
It should be superseeded since the seat models were updated a long time ago. But apparently some people find it useful.
A May 6, 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] Apr 28, 2024 @ 11:27pm 
This add-on is not much of a great project, though. 😅
A Apr 28, 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] Jan 29, 2024 @ 11:01pm 
Hehe! 😎
CHAINSAWCANNIBAL Jan 29, 2024 @ 1:10pm 
my saw traps can now work thank you
:steamthumbsup:
Cédric GÉRILLE [GiletJaune]  [author] Jan 19, 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 Jan 9, 2024 @ 8:32am 
how can i make so that it damage player in vehicle like jeep too ?
𝓧𝓠𝓚𝓔𝓚 Jan 7, 2024 @ 1:44am 
is there any addon, that adds a fall damage when player sits?
Cédric GÉRILLE [GiletJaune]  [author] Dec 7, 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 Nov 19, 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 Nov 10, 2023 @ 6:09pm 
I see. thats really unfortunate..
Cédric GÉRILLE [GiletJaune]  [author] Nov 10, 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 Nov 10, 2023 @ 2:34pm 
i just need a way to damage people in simfphys driver seats
Cédric GÉRILLE [GiletJaune]  [author] Aug 10, 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 Aug 10, 2023 @ 11:58am 
man this addon sucks
Cédric GÉRILLE [GiletJaune]  [author] Oct 8, 2022 @ 12:45pm 
Yeah but in real life, you are at risk on a seat too. 😂
FBI Oct 8, 2022 @ 9:12am 
one thing tho people wanna b invincible anyways
Cédric GÉRILLE [GiletJaune]  [author] Aug 24, 2022 @ 11:35am 
That is its intnded purpose. 😛
404_coffee.exe Aug 9, 2022 @ 5:02am 
This one was very useful to use to make sure we cannot just be invincible.
flatulencegaming Feb 17, 2022 @ 2:19am 
well
Springle Jan 30, 2022 @ 9:15am 
can you make it work with the sit anywhere script?
Cédric GÉRILLE [GiletJaune]  [author] Nov 28, 2021 @ 3:05am 
I think I might do something now. I have too many of my add-ons that need to be fixed!
Redox Nov 27, 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 Aug 11, 2021 @ 2:53am 
I FIND IT
Cédric GÉRILLE [GiletJaune]  [author] Jul 28, 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 Jul 28, 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 Jul 19, 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 Jul 17, 2021 @ 2:50pm 
ok
Cédric GÉRILLE [GiletJaune]  [author] Jul 17, 2021 @ 2:39pm 
I did not think about that. No you cannot.
DeedalaDee Jul 4, 2021 @ 2:10pm 
can you take fall damage in seats
Cédric GÉRILLE [GiletJaune]  [author] Jun 20, 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 Jun 18, 2021 @ 10:29pm 
@Michel CRÉMIER [GiletJaune]
It hasn't... Worked in a long time...
Cédric GÉRILLE [GiletJaune]  [author] Jun 18, 2021 @ 4:31pm 
Fixing what exactly???
Theo Jun 15, 2021 @ 8:13pm 
@Michel CRÉMIER [GiletJaune]
did you ever get around to fixing this?
mlekosz Apr 12, 2021 @ 12:29pm 
ty
Cédric GÉRILLE [GiletJaune]  [author] Apr 12, 2021 @ 9:45am 
Congratulations! 😋
mlekosz Apr 5, 2021 @ 12:54pm 
ye i did make one :D
Cédric GÉRILLE [GiletJaune]  [author] Apr 5, 2021 @ 8:49am 
I have not made one, but the code would be even easier to make.
mlekosz Apr 4, 2021 @ 12:11pm 
Is there any addon from the opposite site? I mean i can disable damage seated?
Cédric GÉRILLE [GiletJaune]  [author] Mar 13, 2021 @ 6:42am 
Ahhh, I think I really need to fix this! It's a shame that I have not everything installed. :steamsad:
Jane Mar 13, 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