Is there a way to detect if player is using a weapon?
I know about user_has_weapon but it checks if player have the weapon not if he is using it at the moment.
I need this to reset user maxspeed after a speed boost given by set_user_maxspeed(id, 500.0).
If I just set it to 230 (m4a1 and most of primary weapons maxspeed) you will have to switch weapons to get the default weapon maxspeed.
So im wondering if its possible to check if user is using a certain weapon and set the weapon maxspeed to him.