Garry's Mod
Damage Players in Seats
150 σχόλια
Asrilix 19 Αυγ 2024, 23:51 
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 🙏
🍂🎃Killdroid 🎃🍂 4 Αυγ 2024, 21:40 
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 Ιουλ 2024, 8:38 
raaaaaa
GEO999 24 Ιουλ 2024, 8:38 
peepoopoo
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 31 Μαϊ 2024, 13:07 
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 Μαϊ 2024, 0:46 
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]  [Δημιουργός] 14 Μαϊ 2024, 23:13 
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 Μαϊ 2024, 16:19 
Is there any way how can I press buttons while sitting?
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 6 Μαϊ 2024, 23:18 
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 Μαϊ 2024, 18:43 
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]  [Δημιουργός] 28 Απρ 2024, 23:27 
This add-on is not much of a great project, though. 😅
Lazy Pyro (New acc!) 28 Απρ 2024, 9:51 
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]  [Δημιουργός] 29 Ιαν 2024, 23:01 
Hehe! 😎
CHAINSAWCANNIBAL 29 Ιαν 2024, 13:10 
my saw traps can now work thank you
:steamthumbsup:
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 19 Ιαν 2024, 18:25 
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 Ιαν 2024, 8:32 
how can i make so that it damage player in vehicle like jeep too ?
𝓧𝓠𝓚𝓔𝓚 7 Ιαν 2024, 1:44 
is there any addon, that adds a fall damage when player sits?
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 7 Δεκ 2023, 21:20 
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 Νοε 2023, 9:57 
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 Νοε 2023, 18:09 
I see. thats really unfortunate..
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 10 Νοε 2023, 18:08 
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 Νοε 2023, 14:34 
i just need a way to damage people in simfphys driver seats
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 10 Αυγ 2023, 12:40 
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 Αυγ 2023, 11:58 
man this addon sucks
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 8 Οκτ 2022, 12:45 
Yeah but in real life, you are at risk on a seat too. 😂
FBI 8 Οκτ 2022, 9:12 
one thing tho people wanna b invincible anyways
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 24 Αυγ 2022, 11:35 
That is its intnded purpose. 😛
404_coffee.exe 9 Αυγ 2022, 5:02 
This one was very useful to use to make sure we cannot just be invincible.
flatulencegaming 17 Φεβ 2022, 2:19 
well
Springle 30 Ιαν 2022, 9:15 
can you make it work with the sit anywhere script?
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 28 Νοε 2021, 3:05 
I think I might do something now. I have too many of my add-ons that need to be fixed!
Redox 27 Νοε 2021, 18:45 
[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)
just_legris.lua 11 Αυγ 2021, 2:53 
I FIND IT
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 28 Ιουλ 2021, 14:59 
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.
typicalasiandude 28 Ιουλ 2021, 13:34 
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 Ιουλ 2021, 20:31 
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 Ιουλ 2021, 14:50 
ok
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 17 Ιουλ 2021, 14:39 
I did not think about that. No you cannot.
DeedalaDee 4 Ιουλ 2021, 14:10 
can you take fall damage in seats
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 20 Ιουν 2021, 10:09 
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.
R4YL0 18 Ιουν 2021, 22:29 
@Michel CRÉMIER [GiletJaune]
It hasn't... Worked in a long time...
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 18 Ιουν 2021, 16:31 
Fixing what exactly???
R4YL0 15 Ιουν 2021, 20:13 
@Michel CRÉMIER [GiletJaune]
did you ever get around to fixing this?
O I I A O I I A 12 Απρ 2021, 12:29 
ty
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 12 Απρ 2021, 9:45 
Congratulations! 😋
O I I A O I I A 5 Απρ 2021, 12:54 
ye i did make one :D
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 5 Απρ 2021, 8:49 
I have not made one, but the code would be even easier to make.
O I I A O I I A 4 Απρ 2021, 12:11 
Is there any addon from the opposite site? I mean i can disable damage seated?
Cédric GÉRILLE [GiletJaune]  [Δημιουργός] 13 Μαρ 2021, 6:42 
Ahhh, I think I really need to fix this! It's a shame that I have not everything installed. :steamsad:
Jane 13 Μαρ 2021, 2:13 
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