Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CBasePlayer::CheckTimeBasedDamage hook #749

Open
RauliTop opened this issue Apr 8, 2022 · 0 comments
Open

Add CBasePlayer::CheckTimeBasedDamage hook #749

RauliTop opened this issue Apr 8, 2022 · 0 comments

Comments

@RauliTop
Copy link
Contributor

RauliTop commented Apr 8, 2022

Useful hook to change TimeBasedDamages like Paralyze, Poison, Radiation, Acid...
We can take away health with set_user_health to apply damage

https://github.com/s1lentq/ReGameDLL_CS/blob/f050be77db474e45c2f525c396f30e33a48e8186/regamedll/dlls/player.cpp#L4690-L4794

Also, commented here: rehlds/ReHLDS#906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant