[HELP] Only take world damage (Fall damage)
So I'm creating my first plugin :) and I want to disable all player damage but not world damage.
I found this but I'm not sure what it does... Code:
SetEntProp(Client, Prop_Data, "m_takeDamage", 0, 0); Game: CS:GO if it matters... |
Re: [HELP] Only take world damage (Fall damage)
You would need to use SDKHooks to catch the damage then check to see if it's fall damage.
You could just take a anti-falldamage plugin and negate it. |
Re: [HELP] Only take world damage (Fall damage)
Okay, I'll try that Thank's! :)
|
Re: [HELP] Only take world damage (Fall damage)
PHP Code:
|
Re: [HELP] Only take world damage (Fall damage)
Thanks! :D
|
All times are GMT -4. The time now is 04:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.