Garry's Mod

Garry's Mod

957 ratings
Damage Players in Seats
 
Rate  
Favorite
Favorited
Unfavorite
Type: Weapon, Addon
File Size
Posted
Updated
0.001 MB
Apr 19, 2015 @ 4:59am
Oct 28, 2016 @ 2:18pm
4 Change Notes ( view )

Subscribe to download
Damage Players in Seats

Subscribed
Unsubscribe
In 2 collections by Jean-Bernard H. [GiletJaune]
G-1:91808
69 items
G-1:788429
53 items
Description
OBSOLETE ADDON

Intro
By default players cannot be damaged when they are sitting on seats. This addon allows bullets (and only bullets) to damage the player when they hit the chair. I know no more efficient way to do the job.
This addon does not work with driver seats.

[curse.com]

Features
• Damage players who are sitting on solid chairs with bullets.
• Blood effect so the attacker can see that he is damaging his victim. This is very important to prevent accidental murders.

Configuration
• You can use the dmg_ply_veh_seats ConVar to deny damages for passenger seats and SCar driver seats.
  Parameters: 0 to deny damages or 1 (default) to allow them.

Notes
• Now there is a trick to add compatibility with The sit anywhere script!. No configuration is needed for this addon to deal with damage, as the value is overridden.
• This addon will not work with non-solid seats because bullets will go through them.
• This addon should not make any conflicts, but many other addons using the EntityFireBullets event may cause its failure.
< >
86 Comments
Jean-Bernard H. [GiletJaune]  [author] Dec 15, 2018 @ 3:27am 
The thing is that it only works when you hit the seat.
Sharpfart Dec 14, 2018 @ 7:50pm 
It kinda works for me, exept only the player's croch is able to be damaged
󠀡 Oct 5, 2018 @ 2:32pm 
D'accord, non, je vais utiliser le tiens ;p
Jean-Bernard H. [GiletJaune]  [author] Oct 5, 2018 @ 1:23pm 
Je pense que j'ai voulu dire que j'ai rendu cet addon compatible avec "The sit anywhere script!" en utilisant une magouille, car "The sit anywhere script!" crée des sièges non-solides et par conséquent les traces ne les atteignent pas, donc aucun dégât n'est reçu.
Enfin, il y a peut-être eu du changement depuis mon ajout de ma magouille.
󠀡 Sep 30, 2018 @ 12:41pm 
Bonjour, jean quand tu dit Maintenant il y a une astuce pour ajouter la compatibité avec The sit anywhere script!... tu veut dire que maintenant the sit anywhere le fait, sans ton addons?
Jean-Bernard H. [GiletJaune]  [author] Jul 13, 2018 @ 2:31pm 
Because seat models that from GMod have been updated long ago so they can trigger player damage. Also the addon does not seem to work well for everybody.
S. HITMAN Jul 9, 2018 @ 12:10am 
Why is it obsolete?
Jean-Bernard H. [GiletJaune]  [author] Mar 2, 2018 @ 12:39pm 
Well, the only common way to sit uses seats, so I believe that it's about most sitting.
This addon is kind of obsolete though.
Bruce Wayne Feb 26, 2018 @ 8:49pm 
Does this work with sitting overall or just seats?
Jean-Bernard H. [GiletJaune]  [author] Jun 27, 2017 @ 10:05am 
Interesting. :-D