Ulysses
General => Developers Corner => Topic started by: Jaden Zepeda on December 20, 2014, 09:13:57 PM
-
Is there a way to disable players godmode in vehicles?
-
Yes, probably.
http://wiki.garrysmod.com/page/GM/EntityTakeDamage (http://wiki.garrysmod.com/page/GM/EntityTakeDamage)
When you mean in a vehicle, do you mean in a jeep seat / sandbox or actual vehicles? I thought the jeep etc already passed damage to the player.
-
Like Seats, players are godmoded in seats.
-
Ah, I see. Then from what I can think off the top of my head, Its possible, but i'm unsure if the player would get accurate damage. You could run an ondamage hook for the players vehicle and then make your own damage from the damage info.