DeathMsg question
So, I've got register_event("DeathMsg", "deatha", "a") in my plugin, but I need to not execute it if player was killed by user_silentkill.
Is it possible? |
Re: DeathMsg question
Are both code in the same plugin ?
In that casen just set a global bool variable on true before you use silentkill, and set it back to false after. In DeathMsg callback, check that global variable. |
Re: DeathMsg question
Already thought about it, but no, it's different plugins...
So there is no another way and I have to knock it into one. :D Thank you. |
Re: DeathMsg question
You can create a public variable in one plugin, then use ***_xvar_*** natives.
|
| All times are GMT -4. The time now is 21:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.