public void hit(String shooterName, int markerID, String userMatch, String userTeam){
		try{
			ResultSet markerOwner = returnOwnerOfMarker(markerID, userMatch);
			
			// Compares the credentials of the shooter with credentials of markerOwner, to check if:
			if(markerOwner != null){
				if(markerOwner.getString("hostName").equalsIgnoreCase(userMatch) 			//same match
						&& !markerOwner.getString("teamName").equalsIgnoreCase(userTeam)){  //different team
					
					if(markerOwner.getInt("health") > 0){									//not yet dead
						System.out.println("DO DAMAGE.");
						reducePlayerHealth(markerOwner.getString("userName"));
					}
					else{
						System.out.println("TARGET IS ALREADY DEAD.");
					}
					
				}
				else{
					System.out.println("DON'T HIT FRIENDS.");
				}
			}
			else{
				System.out.println("MARKER IS NOT ASSOCIATED WITH ANY PLAYER IN THIS MATCH.");
			}
			
		}catch(SQLException e){
			e.printStackTrace();
		}
	}