Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Allow Players to kill players in Vehicles?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Allow Players to kill players in Vehicles? (Read 1955 times)
0 Members and 2 Guests are viewing this topic.
Jaden Zepeda
Newbie
Posts: 28
Karma: 0
Allow Players to kill players in Vehicles?
«
on:
December 20, 2014, 09:13:57 PM »
Is there a way to disable players godmode in vehicles?
Logged
monkstick
Newbie
Posts: 6
Karma: 0
Re: Allow Players to kill players in Vehicles?
«
Reply #1 on:
December 22, 2014, 02:54:19 AM »
Yes, probably.
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.
Logged
Jaden Zepeda
Newbie
Posts: 28
Karma: 0
Re: Allow Players to kill players in Vehicles?
«
Reply #2 on:
December 22, 2014, 11:07:56 AM »
Like Seats, players are godmoded in seats.
Logged
monkstick
Newbie
Posts: 6
Karma: 0
Re: Allow Players to kill players in Vehicles?
«
Reply #3 on:
December 23, 2014, 06:46:01 AM »
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Ulysses
»
General
»
Developers Corner
»
Allow Players to kill players in Vehicles?