Hook player flag change
Is there any way to know the exact moment a player had its flags changed? Example someone wins admin in the middle of the round and I want to execute something the moment he had the flags changed ...
|
Re: Hook player flag change
Nope - https://github.com/alliedmodders/amxmodx/pull/475
We can just pray the PR gets reviewed soon. |
Re: Hook player flag change
I think you will just need to keep re-checking as I do not believe there are any events fired when flags are changed. It is not an expensive native so it's not the end of the world.
PHP Code:
|
Re: Hook player flag change
Thanks both of you.
|
| All times are GMT -4. The time now is 02:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.