A rideshare driver has been charged after a shooting scare involving a water pistol outside NSW parliament yesterday prompted a large police response.