Detect when player shooting with OnPlayerKeyStateChange ?
#3

pawn Код:
if (newkeys & KEY_FIRE)
{
}
This isn't accurate and not actually meant for detecting weapon shooting, you should use OnPlayerWeaponShot instead if you want to only detect Bullet weapons.
Reply


Messages In This Thread
Detect when player shooting with OnPlayerKeyStateChange ? - by YouServ - 28.01.2016, 18:36
Re: Detect when player shooting with OnPlayerKeyStateChange ? - by valych - 28.01.2016, 19:00
Re: Detect when player shooting with OnPlayerKeyStateChange ? - by Gammix - 28.01.2016, 20:48

Forum Jump:


Users browsing this thread: 1 Guest(s)