detect if player take photo
#4

maybe this will be fine for you
Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(PRESSED(KEY_FIRE))
	{
		if(GetPlayerCameraMode(playerid) == 46)
		{
			//The player has taken a photo
		}
	}
	return 1;
}
Reply


Messages In This Thread
detect if player take photo - by ShadowBlack - 21.04.2018, 10:42
Re: detect if player take photo - by Kane - 21.04.2018, 10:47
Re: detect if player take photo - by ShadowBlack - 21.04.2018, 10:54
Re: detect if player take photo - by m4karow - 21.04.2018, 11:04
Re: detect if player take photo - by ShadowBlack - 21.04.2018, 11:11
Re: detect if player take photo - by m4karow - 21.04.2018, 17:26
Re: detect if player take photo - by ItsRobinson - 21.04.2018, 17:58
Re: detect if player take photo - by JesterlJoker - 21.04.2018, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)