Detect when player shooting with OnPlayerKeyStateChange ?
#1

Hi,

I want to detect when player shooting (aim or not) with OnPlayerKeyStateChange.

Actually, I have this shit :

Код:
	if(oldkeys == KEY_FIRE)
	{
		SendClientMessage(playerid, -1, "fire");
	}
The problem is : when the player shot without aim, the SCM is showing but when player shoot and aim the SCM don't show.

How to detect when a player AIM+SHOT at the same time ?
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)