22.03.2019, 14:35
Hey everyone, is there any callback such as OnPlayerSwitchWeapon, OnPlayerChangeWeapon? I tried to use OnPlayerUpdate to detect when player changes weapon, but it's not stable lets say. It works sometimes, and do not when there is fast weapon switch, soo I need callback which will be called every time weapon changes. It may be plugin (I think it would be more accurate), it may be include either, whatever, I need this callback . I saw OnPlayerStatsAndWeaponsUpdate callback in YSF plugin, but it's called like every second, that's too big interval for me, cause I need to change player weapon to another right after previous one is given. Anyway, it's not big deal what am I doing, as I said - I need that callback .