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

how to put callback Onplayergivedamage and onplayertakedamage #262

Open
KirovNoName opened this issue Jun 4, 2023 · 3 comments
Open

how to put callback Onplayergivedamage and onplayertakedamage #262

KirovNoName opened this issue Jun 4, 2023 · 3 comments

Comments

@KirovNoName
Copy link

how to enable the callback like Onplayertakedamage and onplayergivedamage without removing #incluce

@mysy00
Copy link
Contributor

mysy00 commented Jun 16, 2023

Use OnPlayerDamage instead.
You most likely don't want to access real natives since weapon-config will be responsible for handling it.

@KirovNoName
Copy link
Author

Use OnPlayerDamage instead. You most likely don't want to access real natives since weapon-config will be responsible for handling it.

what if i put undefined onplayerdamage it will enable it?

@NexiusTailer
Copy link
Contributor

Use OnPlayerDamage instead. You most likely don't want to access real natives since weapon-config will be responsible for handling it.

what if i put undefined onplayerdamage it will enable it?

It's already declared in weapon-config, so it won't be undefined when you add this public into your gamemode.

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

3 participants