Hew to detect if a player is shooting
#5

OnPlayerWeaponShot will not be called for spray can. You need to check if player's current weapon ID is equal to spray can and then check for animation indexes. Spray can animations Ids : {640, 1160, 1161, 1162, 1163, 1167} to be used with GetPlayerAnimationIndex.
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: 1 Guest(s)