Hew to detect if a player is shooting
#3

Quote:
Originally Posted by lackmail
Посмотреть сообщение
OnPlayerWeaponShot check if weapon id equals spray id then create the object
That's only called for weapons with bullets

Use OnPlayerKeyStateChange and check if player presses KEY_FIRE, to make it a bit more accurate you could also detect if ammo goes down.
Reply


Messages In This Thread
Hew to detect if a player is shooting - by AndreiWow - 04.01.2017, 13:59
Re: Hew to detect if a player is shooting - by lackmail - 04.01.2017, 14:03
Re: Hew to detect if a player is shooting - by SickAttack - 04.01.2017, 14:07
Re: Hew to detect if a player is shooting - by lackmail - 04.01.2017, 14:09
Re: Hew to detect if a player is shooting - by Lordzy - 04.01.2017, 14:09
Re: Hew to detect if a player is shooting - by AndreiWow - 04.01.2017, 14:25

Forum Jump:


Users browsing this thread: 2 Guest(s)