21.04.2018, 11:04
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; }