Posts: 59
Threads: 19
Joined: Aug 2010
Reputation:
0
24.10.2010, 15:48
(
Последний раз редактировалось Marshall_Banks; 24.10.2010 в 15:58.
)
How do i detect if someone is shooting a gun?
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
As far as I know, this is not possible with any SA:MP function. You can check if the player is holding a gun with GetPlayerWeaponData, but not if he is shooting.
Posts: 59
Threads: 19
Joined: Aug 2010
Reputation:
0
is it possible to use it with OnPlayerKeyStateChange? Like if press the fire button it will do what i want it to do?
Posts: 59
Threads: 19
Joined: Aug 2010
Reputation:
0
Thanks, appreciate the help.
One more thing how do i define HOLDING?