OnPlayerSwitchWeapon?
#1

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 .
Reply


Messages In This Thread
OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 14:35
Re: OnPlayerSwitchWeapon? - by Bolex_ - 22.03.2019, 14:50
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 15:08
Re: OnPlayerSwitchWeapon? - by Kaliber - 22.03.2019, 15:14
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 16:17
Re: OnPlayerSwitchWeapon? - by m4karow - 22.03.2019, 16:34
Re: OnPlayerSwitchWeapon? - by NaS - 22.03.2019, 17:04
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 17:15
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 18:16
Re: OnPlayerSwitchWeapon? - by Marshas - 22.03.2019, 20:52
Re: OnPlayerSwitchWeapon? - by antixgaming - 22.03.2019, 21:50
Re: OnPlayerSwitchWeapon? - by Marshas - 23.03.2019, 15:41

Forum Jump:


Users browsing this thread: 2 Guest(s)